Add-WsusDynamicCategory

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

Add-WsusDynamicCategory

Adds a dynamic category to a WSUS server.

구문

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

Parameter Set: ByObject
Add-WsusDynamicCategory -InputObject <IDynamicCategory> [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-UpdateServer <IUpdateServer> ] [ <CommonParameters>]

자세한 설명

The Add-WsusDynamicCategory cmdlet adds a dynamic category to a Windows Server Update Services (WSUS) server.

In order to transfer dynamic categories from one update server to another, pass the results of the Get-WsusDynamicCategory cmdlet to the current cmdlet by using the pipeline operator.

매개 변수

-DynamicCategoryType<DynamicCategoryType>

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

-- ComputerModel
-- Device
-- Application

별칭

Type

필수 여부

true

위치

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

-InputObject<IDynamicCategory>

Specifies the dynamic category object that this cmdlet adds to the server. To obtain a dynamic category, use the Get-WsusDynamicCategory cmdlet.

별칭

none

필수 여부

true

위치

named

기본값

none

파이프라인 입력 허용 여부

true (ByValue)

와일드카드 문자 허용 여부

false

-Name<String>

Specifies the name of the dynamic category to add.

별칭

none

필수 여부

true

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-UpdateServer<IUpdateServer>

Specifies the WSUS server to which this cmdlet adds the dynamic category. To obtain a server, use the Get-WsusServer cmdlet. If you do not specify a value for this parameter, the cmdlet adds the dynamic category to the local server.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

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

  • IDynamicCategory

출력

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

  • IDynamicCategory

Example 1: Add a dynamic category to the local WSUS server

This command adds a dynamic category named PCI/Device07 the local update server. The command specifies that they type is Device.

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

관련 항목

Get-WsusDynamicCategory

Remove-WsusDynamicCategory

Set-WsusDynamicCategory

Get-WsusServer