Score:1

How can I determine if Microsoft Patches are recommended or optional without using IUpdateSearcher?

id flag

On a single computer, it's simple enough to filter which updates Microsoft deems important by running a PS script such as the following:

$session = New-Object -ComObject Microsoft.Update.Session
$searcher = $session.CreateUpdateSearcher()
$result = $searcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")
$requiredupdates = $result.Updates |? AutoSelectOnWebSites -eq $true

However, this information is not given when reviewing updates for release through our patch management software. I could run the above script against a representative machine but it would exclude patches that wouldn't be listed until after a reboot.

http://support.microsoft.com/kb/1234567 will usually report if automatic updating will apply a patch, but this is not always true.

Is there another method (preferably programmatic) to retrieve this information?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.