Get-RDPersonalVirtualDesktopPatchSchedule
適用対象: Windows 10, Windows Server Technical Preview
Get-RDPersonalVirtualDesktopPatchSchedule
Gets a patch schedule for a virtual desktop.
構文
Parameter Set: Default
Get-RDPersonalVirtualDesktopPatchSchedule [[-VirtualDesktopName] <String> ] [[-ID] <String> ] [[-ConnectionBroker] <String> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.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.
Aliases |
none |
必須/オプション |
false |
位置 |
3 |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-ID<String>
Specifies the ID of a patch schedule. The ID of a patch schedule is a system-assigned GUID.
Aliases |
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
Aliases |
infa |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-InformationVariable<System.String>
Specifies a variable in which to store an information event message.
Aliases |
iv |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
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.
Aliases |
none |
必須/オプション |
false |
位置 |
1 |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
<CommonParameters>
このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットが出力するオブジェクトの型です。
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