Quantcast
Channel: Tutorials - Patrick Domingues
Viewing all articles
Browse latest Browse all 25

How to Automate Microsoft Edge Updates with PowerShell

$
0
0
The post How to Automate Microsoft Edge Updates with PowerShell appeared first on Patrick Domingues.

Learn how to automate Microsoft Edge updates using a simple PowerShell script, ensuring your systems stay secure and up-to-date effortlessly. Microsoft Edge, like many other applications, frequently receives updates that improve performance, add new features, and address security vulnerabilities. However, manually checking for updates can be time-consuming, especially in a business environment where automation is key.

PowerShell-7

Automating Microsoft Edge Updates

The script below allows you to automate the process of installing updates for Microsoft Edge. It works by executing the Microsoft Edge Update executable with specific arguments to silently check for and install updates.

$EdgeUpdatePath = "C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe"
$ArgumentList = "/silent /install appguid={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}&appname=Microsoft%20Edge&needsadmin=True"

$Process = Start-Process -FilePath $EdgeUpdatePath -ArgumentList $ArgumentList -PassThru -Wait

if ($Process.ExitCode -eq 0) {
    Write-Host "Update successfully installed."
} else {
    Write-Host "Update failed to install."
}

Why Automate Edge Updates?

Automating updates is especially useful for IT administrators managing multiple machines. It ensures that all … Read the rest

The post How to Automate Microsoft Edge Updates with PowerShell appeared first on Patrick Domingues.

Viewing all articles
Browse latest Browse all 25

Trending Articles