Anyone have a script to push out the emergency Google Chrome version 99.0.4844.84
The emergency update to version 99.0.4844.84 of Chrome is highly unusual in that it addresses just a single security vulnerability.
Answers (2)
for a Windows OS, run this PS script that will update tot he latest Google Chrome browser....
--------------------------- START OF FILE -----------------------------------
function Install-Chrome
{
$LocalTempDir = $env:TEMP;
$ChromeInstaller = "ChromeInstaller.exe";
$url='http://dl.google.com/chrome/install/latest/chrome_installer.exe';
$output="$LocalTempDir\$ChromeInstaller"
try {
(new-object System.Net.WebClient).DownloadFile($url, $output);
$p = Start-Process $output -ArgumentList "/silent","/install" -PassThru -Verb runas;
while (!$p.HasExited) { Start-Sleep -Seconds 1 }
Write-Output ([PSCustomObject]@{Success=$p.ExitCode -eq 0;Process=$p})
} catch {
Write-Output ([PSCustomObject]@{Success=$false;Process=$p;ErrorMessage=$_.Exception.Message;ErrorRecord=$_})
} finally {
Remove-Item "$LocalTempDir\$ChromeInstaller" -ErrorAction SilentlyContinue -Verbose
}
}
Install-Chrome
--------------------------- END OF FILE -----------------------------------
Comments:
-
Thank you, I will try that today. - hulksmash72 2 years ago
-
Looks good but requires users to have free internet access. - CarstenBuscher 2 years ago
I have created a smart label that captures all computers that have an older version of Google Chrome installed. Then I uploaded the new version and attached the smart label.
Comments:
-
Thank You, i will try that as well. - hulksmash72 2 years ago