Get-WsusClassification

Applies To: Windows 10, Windows Server Technical Preview

Get-WsusClassification

Gets the list of all WSUS classifications currently available in the system.

Syntax

Parameter Set: Default
Get-WsusClassification [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [-UpdateServer <IUpdateServer> ] [ <CommonParameters>]




Detailed Description

The Get-WsusClassification cmdlet gets the list of all Windows Server Update Services (WSUS) classifications. You can filter this list using the Where-Object cmdlet with the results passed into the Set-WsusClassification cmdlet.

Parameters

-InformationAction<System.Management.Automation.ActionPreference>

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

-- Continue
-- Ignore
-- Inquire
-- SilentlyContinue
-- Stop
-- Suspend


Aliases

infa

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InformationVariable<System.String>

Specifies an information variable.


Aliases

iv

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-UpdateServer<IUpdateServer>

Specifies the object that contains the WSUS server. This value is obtained by calling the Get-WsusServer cmdlet and passing the resulting IUpdateServer object into this cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.UpdateServices.Commands.IUpdateServer

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get classifications

This command gets all classifications.


PS C:\> Get-WsusServer | Get-WsusClassification

Example 2: Get classifications that have a specified title

This command gets the classification with a title of Drivers.


PS C:\> Get-WsusServer | Get-WsusClassification | Where-Object -FilterScript {$_.Classification.Title -Eq "Drivers"}

Related topics

Community Additions

ADD
Show: