This module contain cmdlets to manage Windows Update Client.

Minimum PowerShell version

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSWindowsUpdate -RequiredVersion

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSWindowsUpdate -Version

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More



(c) 2011-2022 Michal Gajda. All rights reserved.

Package Details


  • Michal Gajda


Add-WUServiceManager Enable-WURemoting Get-WindowsUpdate Get-WUApiVersion Get-WUHistory Get-WUInstallerStatus Get-WUJob Get-WULastResults Get-WURebootStatus Get-WUServiceManager Get-WUSettings Invoke-WUJob Remove-WindowsUpdate Remove-WUServiceManager Set-WUSettings Update-WUModule Set-PSWUSettings Reset-WUComponents Get-WUOfflineMSU


This module has no dependencies.

Release Notes

v2.2.0  - New cmdlet Reset-WUComponents, for reset Windows Updates components to default
- New cmdlet Get-WUOfflineMSU, for download offline msu package from microsoft Update Catalog

v2.1.1  - Remove-WindowsUpdate added WU Api uninstallation mode
- Fixed bug with slow run cmdlets
- Added support for Office 365 users to send emails

v2.1.0  - New cmdlet Set-PSWUSettings, for save PSWUSettings to xml file
- Param -SendReport can use smtp server credentials
- Install-WindowsUpdate added -RecurseCycle param, to install next updates after reboot
- Install-WindowsUpdate added new pre search criteria: DeploymentAction, IsAssigned, IsPresent, BrowseOnly and AutoSelectOnWebSites
- Change location of PSWindowsUpdate.log file to $Env:TEMP
- Fixed Get-WULastResults bugs
- Fixed Remove-WUServiceManager bugs

v2.0.0 - Rewrite whole script module to binary module

Cmdlets maping for old module:
v1.6.x                  => v2.0.x
Add-WUOfflineSync       => Add-WUServiceManager
Add-WUServiceManager    => Add-WUServiceManager
-                       => Enable-WURemoting
Get-WUHistory           => Get-WUHistory
Get-WUList              => Get-WindowsUpdate
Get-WUInstall           => Download-WindowsUpdate  (or Get-WindowsUpdate -Download)
Get-WUInstall           => Install-WindowsUpdate   (or Get-WindowsUpdate -Install)
Hide-WUUpdate           => Hide-WindowsUpdate      (or Get-WindowsUpdate -Hide)
Get-WUInstallerStatus   => Get-WUInstallerStatus
Get-WURebootStatus      => Get-WURebootStatus
Get-WUServiceManager    => Get-WUServiceManager
Get-WUUninstall         => Remove-WindowsUpdate
Invoke-WUInstall        => Invoke-WUJob
-                       => Get-WUJob
Remove-WUOfflineSync    => Remove-WUServiceManager
Remove-WUServiceManager => Remove-WUServiceManager
Get-WUAPIVersion        => Get-WUAPIVersion
Get-WULastResults       => Get-WULastResults
Start-WUDetectNow       => -
Start-WUService         => -
Get-WUSettings          => Get-WUSettings
Set-WUSettings          => Set-WUSettings
Update-WUModule         => Update-WUModule


Version History

Version Downloads Last updated 106,966,968 12/13/2023 10,722,963 11/30/2023 1,936,612 11/28/2023 (current version) 337,049,316 4/14/2022 79,862,492 4/20/2020 41,967,363 3/5/2019 447,038 2/15/2019 1,967,577 12/5/2018 2,706,649 3/16/2018 192,746 1/12/2018 90,187 12/27/2017 176,073 10/27/2017
Show more