Scripts/Get-PSWSUSClassification.ps1
Function Get-PSWSUSClassification { <# .SYNOPSIS Lists all update classifications under WSUS. .DESCRIPTION Lists all update classifications under WSUS. .NOTES Name: Get-PSWSUSClassification Author: Boe Prox DateCreated: 24JAN2011 .LINK https://learn-powershell.net .EXAMPLE Get-PSWSUSClassification Description ----------- This command will display all update classifications available under WSUS. #> [cmdletbinding()] Param() Begin { if(-not $wsus) { Write-Warning "Use Connect-PSWSUSServer to establish connection with your Windows Update Server" Break } } Process { $wsus.GetUpdateClassifications() } } |