Windows Admin Center - Updating extensions with Powershell
To support me, you can subscribe to the channel, share and like the videos, disable your ad blocker or make a donation. Thank you!
Hello,
The Windows Admin Center extensions should update automatically but this obviously doesn’t work properly with me so I use a Powershell script which is also used in my training courses for WAC demonstrations.
# WAC server name.$ServerName = 'srv1'
# Import the WAC module (present on the workstation with WAC).# This may require remote Powershell# Enter-PSSession -ComputerName $ServerNameImport-Module "$env:ProgramFiles\windows admin center\PowerShell\Modules\ExtensionTools"
# WAC address$WAC = "https://$ServerName/"
# List installed extensions that do not have the latest version$extensions = Get-Extension $WAC | Where-Object {($_.isLatestVersion -match "false") -and ($_.status -eq "installed") } | Select-Object -ExpandProperty id
# Update extensionsForEach ($extension in $extensions){ Update-Extension $WAC -ExtensionId $extension -Verbose}
Related links
Windows Admin Center - Installing extensions using Powershell
I find it quite time-consuming to have to install Windows Admin Center extensions from the interface and Powershell does it easilyWindows Admin Center - Updating extensions with Powershell
The Windows Admin Center extensions should update automatically but this obviously doesn't work properly for me, so I use a Powershell script which is also used in my training courses for WAC demonstrationsPowershell - Testing network connectivity and port accessibility
Testing network connectivity and port accessibility with PowershellPowershell - Display network connections (equivalent to netstat)
Display network connections (listening ports, active connections...)Powershell - Testing name resolution (equivalent to nslookup)
Powershell commands to test name resolution (equivalent to nslookup)Powershell - View and manage DNS configuration of network interfaces
Powershell commands to display and manage DNS configuration of network interfaces
Follow me on
Support me
Last content
Powershell - Testing network connectivity and port accessibility
Powershell - Display network connections (equivalent to netstat)
Powershell - Testing name resolution (equivalent to nslookup)
Powershell - View and manage DNS configuration of network interfaces
Powershell - Managing IP configuration of network interfaces
Powershell - Managing the status and configuration of network interfaces
Powershell and the Left Hand Side
Powershell - Managing disks, partitions and volumes