Get-RDPersonalVirtualDesktopPatchSchedule
Get-RDPersonalVirtualDesktopPatchSchedule
Gets a patch schedule for a virtual desktop.
구문
Parameter Set: Default
Get-RDPersonalVirtualDesktopPatchSchedule [[-VirtualDesktopName] <String> ] [[-ID] <String> ] [[-ConnectionBroker] <String> ] [ <CommonParameters>]
자세한 설명
The Get-RDPersonalVirtualDesktopPatchSchedule cmdlet gets patch schedule details 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 |
위치 |
3 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ID<String>
Specifies the ID of a patch schedule. The ID of a patch schedule is a system-assigned GUID.
별칭 |
없음 |
필수 여부 |
false |
위치 |
2 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-VirtualDesktopName<String>
Specifies the name of a person virtual desktop. If you do not specify a value for this parameter, the cmdlet returns patch schedules for all personal virtual desktops.
별칭 |
없음 |
필수 여부 |
false |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. 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 has the 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).
예제
Example1: Get the patch schedule for all virtual desktops
This command gets the patch schedule for all virtual desktops on the local computer.
PS C:\> Get-RDPersonalVirtualDesktopPatchSchedule
Example 2: Get a patch schedule by using an ID
This command gets the patch schedule that has the ID "58E69A71-AFC9-49A6-81B9-494DA20216AC".
PS C:\> Get-RDPersonalVirtualDesktopPatchSchedule -ID "{58E69A71-AFC9-49A6-81B9-494DA20216AC}"
Example 3: Get a patch schedule by using a virtual desktop name
This command gets the patch schedule for the virtual desktop named "RDS-WKS-A27".
PS C:\> Get-RDPersonalVirtualDesktopPatchSchedule -VirtualDesktopName "RDS-WKS-A27"
관련 항목
Set-RDPersonalVirtualDesktopPatchSchedule