Export (0) Print
Expand All

Get-WsusClassification

Get-WsusClassification

Get the list of all Windows Server Update Services (WSUS) classifications currently available in the system.

Syntax

Parameter Set: Default
Get-WsusClassification [-UpdateServer <IUpdateServer> ] [ <CommonParameters>]




Detailed Description

The Get-WsusClassification cmdlet gets the list of all Windows Server Update Services (WSUS) classifications. This list can be filtered using the Where-Object cmdlet with the results piped into the Set-WsusClassification cmdlet.

Parameters

-UpdateServer<IUpdateServer>

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


Aliases

Server

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

  • Microsoft.UpdateServices.Commands.IUpdateServer

    IUpdateServer


Outputs

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

Examples

EXAMPLE 1

This example gets all classifications and prints them to the screen.


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

EXAMPLE 2

This example gets the classification with a title of Drivers.


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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft