How to get Windows Updates with PowerShell?

I know, there are a few functions that will get Windows Updates using Powershell already available on the internet, but what I couldn’t find is a function that would return me all the currently installed updates (which is not the case of Get-Hotfix) and the returned values  as a reworkable object.

Download  get-windowsupdates on technet right here –> https://gallery.technet.microsoft.com/Get-WindowsUpdates-06eb7f43.

So here is my version of the Get-WindowsUpdates script which get’s back all the installed updates on a machines AND returns an object that can be used for futher filtering.

This function is a function that will work only  locally. But I blogged yesterday about a neat trick that will let you run easily any local function remotley withtout any effort right here –> How to run a local function remotley

Get-windowsupdates listing :

 

 

Digg more into how to get windows updates with Powershell:

Jeff Wouters” version of the script :)).[/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]

By | 2016-10-19T21:00:15+00:00 November 12th, 2014|PowerShell|0 Comments

About the Author:

Stéphane is a dynamic and passionate Cloud and datacenter Microsoft MVP since. He is the founder of the Basel PowerShell user Group (BPUG), the co-founder of the French Speaking PowerShell UserGroup (FRPSUG), author, blogger, and received the community award "PowerShell Hero" from PowerShell.org. Stéphane has implemented microsoft infrastructure solutions in various countries of Europe and is currently working in Basel / Switzerland. Stéphane help his clients to reduce their global infrastructure costs by implementing Microsft infrastructure solutions by combining great products such as System Center, Windows Server, with heavy automation using Windows PowerShell. Stéphane loves languages, Belgium beer, French cheese and French Wine. If any of these topics are of your interest, don't hesitate to come and say hi.

Leave a Reply

%d bloggers like this: