title: Uninstall Chrome silently using Powershell
body: <p>I have the following PowerShell script, which I am using to get the uninstall string for Google Chrome, and then I want to uninstall it silently. Line 3 in the script will pop up the GUI uninstaller (so it seems like everything is correct thus far), but if I add &quot;/qn&quot; or &quot;/quiet&quot; to the argument list, the uninstall doesn't seem to run at all, even if I let it sit for a couple hours.</p>
  <p>What am I missing?</p>
  <pre><code>    $AppName = &quot;Google Chrome&quot;
      $Chrome = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -match $($AppName)}
      Start-Process -Wait -FilePath MsiExec.exe -Argumentlist &quot;/X&quot;,$Chrome.UninstallString.TrimStart(&quot;MsiExec.exe /X&quot;)
  </code></pre>