InstallGoogleChrome.ps1 271 B

1234
  1. $InstallerPath = "$env:Temp\chrome_installer.exe";
  2. Invoke-WebRequest "http://dl.google.com/chrome/install/375.126/chrome_installer.exe" -OutFile $InstallerPath;
  3. Start-Process -FilePath $InstallerPath -Args "/silent /install" -Verb RunAs -Wait;
  4. Remove-Item $InstallerPath