How to approve only updates with correct kb

Oct 28, 2013 at 9:58 AM
For example I want to approve KB842773.

Command I use:
Approve-PoshWSUSUpdate -update KB842773 -Action Install -Group Test
But this will also approve KB883357. Because it has "KB842773" in its description. How can I prevent this?
Oct 28, 2013 at 11:24 AM
This seems to work
Get-PoshWSUSUpdate -Update 842773 | Where-Object {$_.KnowledgebaseArticles -EQ 842773  } | Approve-PoshWSUSUpdate -Group Test -Action Install
Looks a bit complicated. Maybe someone has another idea.