Set-RDPersonalVirtualDesktopPatchSchedule

Set-RDPersonalVirtualDesktopPatchSchedule

Changes patch schedule settings for a personal virtual desktop.

구문

Parameter Set: Default
Set-RDPersonalVirtualDesktopPatchSchedule [-VirtualDesktopName] <String> [-ID] <String> [[-Context] <Byte[]> ] [[-Deadline] <DateTime> ] [[-StartTime] <DateTime> ] [[-EndTime] <DateTime> ] [[-Label] <String> ] [[-Plugin] <String> ] [[-ConnectionBroker] <String> ] [ <CommonParameters>]

자세한 설명

The Set-RDPersonalVirtualDesktopPatchSchedule cmdlet changes patch schedule settings for a personal virtual desktop.

매개 변수

-ConnectionBroker<String>

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment. If you do not specify a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

별칭

없음

필수 여부

false

위치

9

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Context<Byte[]>

Specifies an array of binary data that the program performing the patch operation uses. This data is transparent to the user.

별칭

없음

필수 여부

false

위치

3

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Deadline<DateTime>

Specifies a date and time by which the patch operation must be complete. The server uses this value to prioritize the order in which patches are installed.

별칭

없음

필수 여부

false

위치

4

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-EndTime<DateTime>

Specifies the latest date and time by which the patch operation must begin.

별칭

없음

필수 여부

false

위치

6

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ID<String>

Specifies the ID of a patch schedule.

별칭

없음

필수 여부

true

위치

2

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Label<String>

Specifies a string that describes the purpose of the patch. Add a user-friendly, descriptive string so that the patch is easy to distinguish from other, potentially similar patches.

별칭

없음

필수 여부

false

위치

7

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Plugin<String>

Specifies name for the program that installs the patches. For example, Windows Update.

별칭

없음

필수 여부

false

위치

8

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-StartTime<DateTime>

Specifies the earliest date and time by which to begin the patch operation.

별칭

없음

필수 여부

false

위치

5

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-VirtualDesktopName<String>

Specifies the name of a personal virtual desktop.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • Null

    None.

예제

Example 1: Set a default patch schedule for a virtual desktop

This command sets the patch schedule that has the ID "58E69A71-AFC9-49A6-81B9-494DA20216AC" for the personal virtual desktop named "RDS-WKS-A27".

PS C:\> Set-RDPersonalVirtualDesktopPatchSchedule -VirtualDesktopName "RDS-WKS-A27" -ID "{58E69A71-AFC9-49A6-81B9-494DA20216AC}"

Example 2: Set a patch schedule for a personal virtual desktop

This command sets properties of the path schedule that has the ID "58E69A71-AFC9-49A6-81B9-494DA20216AC" for the personal virtual desktop named "RDS-WKS-A27". The StartTime parameter specifies the current time as the earliest time by which to begin the patch operation.

PS C:\> Set-RDPersonalVirtualDesktopPatchSchedule -VirtualDesktopName "RDS-WKS-A27" -ID "{58E69A71-AFC9-49A6-81B9-494DA20216AC}" -StartTime (Get-Date)

관련 항목

Get-RDPersonalVirtualDesktopPatchSchedule

New-RDPersonalVirtualDesktopPatchSchedule

Remove-RDPersonalVirtualDesktopPatchSchedule