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