Get-WsusDynamicCategory

적용 대상: Windows 10, Windows Server Technical Preview

Get-WsusDynamicCategory

Gets dynamic categories on a WSUS server.

구문

Parameter Set: ByName
Get-WsusDynamicCategory -DynamicCategoryType <DynamicCategoryType> {ComputerModel | Device | Application | Any} -Name <String> [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-UpdateServer <IUpdateServer> ] [ <CommonParameters>]

Parameter Set: Filter
Get-WsusDynamicCategory [-DynamicCategoryTypeFilter <DynamicCategoryType> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-UpdateServer <IUpdateServer> ] [ <CommonParameters>]

자세한 설명

The Get-WsusDynamicCategory cmdlet gets dynamic categories on a Windows Server Update Services (WSUS) server.

매개 변수

-DynamicCategoryType<DynamicCategoryType>

Specifies the type of the dynamic category. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- ComputerModel
-- Device
-- Application

별칭

Type

필수 여부

true

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-DynamicCategoryTypeFilter<DynamicCategoryType>

Specifies the type of the dynamic categories that this cmdlet gets. The possible values are the same as those of the DynamicCategoryType parameter.

별칭

TypeFilter

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InformationAction<ActionPreference>

Specifies how this cmdlet responds to an information event. 이 매개 변수에 허용되는 값은 다음과 같습니다.

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

별칭

infa

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InformationVariable<String>

Specifies an information variable.

별칭

iv

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Name<String>

Specifies the name of the dynamic category to get.

별칭

none

필수 여부

true

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-UpdateServer<IUpdateServer>

Specifies a WSUS server. This cmdlet gets dynamic categories on the server that this parameter specifies. To obtain a server, use the Get-WsusServer cmdlet. If you do not specify a value for this parameter, the cmdlet gets dynamic category from the local server.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

true(ByValue)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

  • IUpdateServer

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • IDynamicCategory

Example 1: Get all dynamic categories for specified servers

This command gets all dynamic categories from the current update server by using the Get-WsusServer cmdlet. The command passes the server to the current cmdlet by using the pipeline operator. The current cmdlet gets the available dynamic categories for the update server.

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

Example 2: Get a named dynamic category

This command gets the dynamic category named PCI/Device07 that is a Device type.

PS C:\> Get-WsusDynamicCategory -DynamicCategoryType Device -Name "PCI/Device07"

Example 3: Get dynamic categories by type

This command gets dynamic categories of the type ComputerModel that are currently available on the local server.

PS C:\> Get-WsusDynamicCategory -DynamicCategoryTypeFilter ComputerModel

관련 항목

Add-WsusDynamicCategory

Remove-WsusDynamicCategory

Set-WsusDynamicCategory

Get-WsusServer