

This is the main cmdlet of the PSWindowsUpdate module. Get-WindowsUpdate (Get-WUList) - displays a list of updates that match the specified criteria, allows you to find and install the updates.Enable-WURemoting - enable Windows firewall rules to allow remote use of the PSWindowsUpdate cmdlets.Add- WUServiceManager – register the update server (Windows Update Service Manager) on the computer.Uninstall-WindowsUpdate – remove update using Remove-WindowsUpdate.Hide-WindowsUpdate (alias for Get-WindowsUpdate -Hide:$false) – hide update.

Get-WUInstall, Install-WindowsUpdate (alias for Get-WindowsUpdate –Install) – install updates.Download-WindowsUpdate (alias for Get-WindowsUpdate –Download) - get a list of updates and download them.Clear-WUJob – use the Get-WUJob to call the WUJob in Task Scheduler.Let’s describe the usage of the module commands in brief: You can display the list of available cmdlets in the PSWindowsUpdate module as follows: Save-Module -Name PSWindowsUpdate –Path \\lon-fs02\psmodules\ Overview of PSWindowsUpdate Cmdlets Install-Module -Name PSWindowsUpdate –ForceĪfter the installation is complete, you need to check the package: To install a newer module version, you need to run the command: In my case, a warning appeared that PSWindowsUpdate 1.5.2.6 was already installed appeared. You can install the PSWindowsUpdate module on Windows 10 and Windows Server 2016 from the online repository (PSGallery) using the PackageManagement with a single command: PSWindowsUpdate: Install Windows Update PowerShell Module Hide-WindowsUpdate: How to Hide Windows Updates with PowerShell?.Remove-WindowsUpdate: Uninstalling Windows Updates.Get-WUHistory: Viewing Windows Update History using PowerShell.Install Windows Update on Remote Computers with PowerShell.Install-WindowsUpdate: Installing Windows Updates with PowerShell.PowerShell: List All Windows Updates Available for a Computer.PSWindowsUpdate: Install Windows Update PowerShell Module.
