Install the PowerShell Windows Update Module

In this article I’ll show you how to managing Windows updates using the PowerShell module PSWindowsUpdate created by Michal Gajda. This PowerShell module allows you to manage Windows updates on any computer or server running PowerShell 2.o and higher.

Install the PowerShell Windows Update Module

Open an elevated PowerShell prompt and change the PowerShell Execution Policy to RemoteSigned using the following command:

To download and install the PowerShell Windows Update Module, use the following command:

How to use PowerShell Windows Update Module

To get available cmdlets, just run the following command:

To get all windows update that available, just run the following command:

To install the Windows updates, just use the following command:

You can also install the specific Windows Update using parameter -KBArticleID.

There are many commands or parameter you can use with Get-WindowsUpdate command. To get more information about the PowerShell Windows Update Module, just type for example the following command:

I really like to hear what you have to say about this article:

  • Was this article helpful for you or do you have any questions?
  • Do you have additions, suggestions or any other ideas?
  • Just let me know by leaving a comment below.

Thank you for spending some time at my site and in my blog. I hope you come to visit again soon 😉

About Lex van der Horst 201 Articles
Techwire

Be the first to comment

Leave a Reply