Skip to content

Instantly share code, notes, and snippets.

@guillermo-musumeci
Last active May 10, 2025 12:09
Show Gist options
  • Save guillermo-musumeci/a20ccae1be33c108844d0a899349b013 to your computer and use it in GitHub Desktop.
Save guillermo-musumeci/a20ccae1be33c108844d0a899349b013 to your computer and use it in GitHub Desktop.
Unattended install of Firefox for Windows using PowerShell
# Unattended Install of Firefox
$SourceURL = "https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang=en-US";
$Installer = $env:TEMP + "\firefox.exe";
Invoke-WebRequest $SourceURL -OutFile $Installer;
Start-Process -FilePath $Installer -Args "/s" -Verb RunAs -Wait;
Remove-Item $Installer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment