PSWindowsUpdate
2.2.1.5
This module contain cmdlets to manage Windows Update Client.
Minimum PowerShell version
5.1.0.0
Installation Options
Owners
Copyright
(c) 2011-2024 Michal Gajda. All rights reserved.
Package Details
Author(s)
- Michal Gajda
 
Tags
Cmdlets
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
PSEditions
Dependencies
This module has no dependencies.
Release Notes
v2.2.1  - Set-WUSettings added params to control TargetRelease for control Feature Updates version and Windows Update for Business
		- Fixed Remove-WindowsUpdate bug
		- Fixed Get-WUHistory bug
		- Fixed Get-WindowsUpdate sendreport bug
		- Fixed Get-WindowsUpdate for Windows 11 H23H2 problem
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
FileList
- PSWindowsUpdate.nuspec
 - PSWindowsUpdate.Format.ps1xml
 - PSWindowsUpdate.psd1
 - PSWindowsUpdate.psm1
 - PSWindowsUpdate.xml
 - PSWUSettings.xml.tmp
 - PSGetModuleInfo.xml
 - PSWindowsUpdate.dll
 - PSWindowsUpdate.dll-Help.xml
 
Version History
| Version | Downloads | Last updated | 
|---|---|---|
| 2.2.1.5 (current version) | 1,004,787,764 | 7/20/2024 | 
| 2.2.1.4 | 222,370,871 | 12/13/2023 | 
| 2.2.1.3 | 10,727,141 | 11/30/2023 | 
| 2.2.1.2 | 1,937,698 | 11/28/2023 | 
| 2.2.0.3 | 339,279,534 | 4/14/2022 | 
| 2.2.0.2 | 83,237,663 | 4/20/2020 | 
| 2.1.1.2 | 42,133,768 | 3/5/2019 | 
| 2.1.1.1 | 576,915 | 2/15/2019 | 
| 2.1.0.1 | 2,027,841 | 12/5/2018 | 
| 2.0.0.4 | 2,813,871 | 3/16/2018 | 
| 2.0.0.3 | 311,354 | 1/12/2018 | 
| 2.0.0.2 | 120,998 | 12/27/2017 | 
| 2.0.0.0 | 177,490 | 10/27/2017 |