New-RDPersonalVirtualDesktopPatchSchedule

업데이트 날짜: 2015년 6월

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

New-RDPersonalVirtualDesktopPatchSchedule

Creates a patch schedule for a personal virtual desktop.

구문

Parameter Set: Default
New-RDPersonalVirtualDesktopPatchSchedule [-VirtualDesktopName] <String> [[-ID] <String> ] [[-Context] <Byte[]> ] [[-Deadline] <DateTime> ] [[-StartTime] <DateTime> ] [[-EndTime] <DateTime> ] [[-Label] <String> ] [[-Plugin] <String> ] [[-ConnectionBroker] <String> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

자세한 설명

The New-RDPersonalVirtualDesktopPatchSchedule cmdlet creates a patch schedule 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.

별칭

none

필수 여부

false

위치

9

기본값

none

파이프라인 입력 허용 여부

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.

별칭

none

필수 여부

false

위치

3

기본값

none

파이프라인 입력 허용 여부

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.

별칭

none

필수 여부

false

위치

4

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-EndTime<DateTime>

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

별칭

none

필수 여부

false

위치

6

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-ID<String>

Specifies the ID of a patch schedule. If you do not specify an ID, the system assigns an ID.

별칭

none

필수 여부

false

위치

2

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InformationAction<System.Management.Automation.ActionPreference>

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

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

별칭

infa

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InformationVariable<System.String>

Specifies a variable in which to store an information event message.

별칭

iv

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

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.

별칭

none

필수 여부

false

위치

7

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Plugin<String>

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

별칭

none

필수 여부

false

위치

8

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-StartTime<DateTime>

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

별칭

none

필수 여부

false

위치

5

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-VirtualDesktopName<String>

Specifies the name of a person virtual desktop.

별칭

none

필수 여부

true

위치

1

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

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

출력

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

  • System.Object

    VirtualDesktopName: Name of virtual desktop
    Context: Opaque binary data associated with the patch schedule
    Deadline: System uses this to prioritize patches. The patch with the earliest deadline gets highest priority.
    StartTime : This is the earliest the patch can be started
    EndTime : This is the latest the patch can be started
    ID : Unique identifier of the patch schedule
    Label : A string that describes the purpose of the patch
    Plugin : Plugin that created the patch schedule
    PatchStatus :
    -- RDV_TASK_STATUS_UNKNOWN. (Not used by task agent.)
    -- RDV_TASK_STATUS_SEARCHING. Searching for applicable tasks.
    -- RDV_TASK_STATUS_DOWNLOADING. Downloading tasks.
    -- RDV_TASK_STATUS_APPLYING. Executing tasks.
    -- RDV_TASK_STATUS_REBOOTING. Rebooting after performing tasks. Rebooting after performing tasks.
    -- RDV_TASK_STATUS_REBOOTED. Rebooted complete after performing tasks.
    -- RDV_TASK_STATUS_SUCCESS. Task completed successfully.
    -- RDV_TASK_STATUS_FAILED. Task failed.
    -- RDV_TASK_STATUS_TIMEOUT. Task did not end in time (not used by task agent).

Example 1: Create a patch Schedule for a personal virtual desktop

This command creates a patch schedule for the personal virtual desktop named RDS-WKS-A27.

PS C:\> New-RDPersonalVirtualDesktopPatchSchedule -VirtualDesktopName "RDS-WKS-A27"

Example 2: Create a new Patch Schedule for a Personal Virtual Desktop

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

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

관련 항목

Get-RDPersonalVirtualDesktopPatchSchedule

Set-RDPersonalVirtualDesktopPatchSchedule

Remove-RDPersonalVirtualDesktopPatchSchedule