Skip to content

check installed updates with powershell

2012/06/09

Check if the patches for the security issues with windows updateservice are installed:

$updateSearcher = new-object -com “Microsoft.Update.Searcher”

$updateSearcher.QueryHistory(0, $updateSearcher.GetTotalHistoryCount()) | ? { $_.Title -like “*2718704*” -or $_.Title -like “*2720211*” } | ft date, title

Advertisements

From → OS, powershell

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: