Powershell

How to install Firefox browser using Powershell

How to install of FireFox browser using PowerShell

Sometimes you would like to install Firefox using Powershell. Here is the script

 

Script for installation of FireFox browser

 


$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;

 

 

Thank you for reading!

Vamshi B

Recent Posts

How to install chrome with Powershell?

Quick way to install chrome on windows with Powershell? Launch the Powershell and run below…

2 years ago

How to Fix PowerShell Script Not Digitally Signed Error?

How to Fix PowerShell Script Not Digitally Signed Error? When a script with a .ps1…

2 years ago

Powershell Cheat Sheet for beginners

Powershell Cheat Sheet for beginners PowerShell has become something of an ace in the hole…

3 years ago

Can you use Linux commands in Powershell?

Today we discuss one of a few questions a lot of sysadmins and IT Admins…

3 years ago

Backing Up an SQL Database with PowerShell

Backing Up an SQL Database with PowerShell Before making any changes in the production environment,…

3 years ago

Powershell Get-Eventlog Get-Process and Stop-Process commands

Get-EventLog We use PowerShell to parse your Server’s/computers event logs using the Get-EventLog cmdlet. There…

3 years ago

This website uses cookies.