

IdentifyingNumber Write-host "Google Chrome is installed as version:" $ChromeVer Write-host "Google Chrome has GUID of:" $GUID #Uninstall using MSIEXEC Write-host "Attempting uninstall using MSIEXEC." & $\ System32 \ msiexec / x $GUID / Quiet / Passive / NoRestart #Uninstall using Setup.exe uninstaller Write-host "Attempting uninstall using Setup.exe uninstaller.


exe / F #Identify version and GUID of Google Chrome Write-host "Identifying Google Chrome location." $AppInfo = Get-WmiObject Win32_Product -Filter "Name Like 'Google Chrome'" $ChromeVer = $AppInfo. Google Chrome Command Line Switches From the source file I wasnt able to find a list of all the current command line flags for chrome.exe, so here they are (this may be outdated now, see the above source file for the latest version): Suppresses hang monitor dialogs in renderer processes. Powershell Write-host "Closing all instances of Google Chrome." cmd / c taskkill / IM Chrome.
