Skip to content

Instantly share code, notes, and snippets.

@johnallers
Created October 17, 2018 01:42
Show Gist options
  • Save johnallers/d951f9eb9214243dff9e66c885171cf2 to your computer and use it in GitHub Desktop.
Save johnallers/d951f9eb9214243dff9e66c885171cf2 to your computer and use it in GitHub Desktop.
$Path = $env:TEMP; $Installer = "firefox_installer.exe"; Invoke-WebRequest "https://download.mozilla.org/?product=firefox-latest&os=win64&lang=en-US" -OutFile $Path$Installer; Start-Process -FilePath $Path$Installer -Args "/S" -Verb RunAs -Wait; Remove-Item $Path$Installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment