- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Thomas Lee
- 60字
- 2021-07-02 18:15:52
There's more...
In step 3, you used the $PSItem mechanism to represent an object in the pipeline. You could have used $_ instead. Either works.
To understand the various categories of updates, review the descriptions available and refer to the online documentation:
$WSUSServer.GetUpdateClassifications() | Select-Object -Property
Title,Description
Documentation of the terminology that defines the software updates is available at https://support.microsoft.com/en-us/help/824684/description-of-the-standard-terminology-that-is-used-to-describe-microsoft-software-updates.