Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

There's more...

You can view your approved updates using the GetUpdates method of the $WSUSServer object and filter on the IsApproved property:

$WSUSServer.GetUpdates() |  
    Where-Object -Property IsApproved -eq $true | 
        Select-Object -Property Title, CreationDate, ` UpdateClassificationTitle