Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-RDPersonalVirtualDesktopPatchSchedule

Set-RDPersonalVirtualDesktopPatchSchedule

remotedesktop.psm1

Synopsis

Changes patch schedule settings for a personal virtual desktop.

Syntax

Set-RDPersonalVirtualDesktopPatchSchedule [-VirtualDesktopName] [-ID] [-Context] [-Deadline] [-StartTime] [-EndTime] [-Label] [-Plugin] [-ConnectionBroker] [<CommonParameters>]

Detailed Description

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

Parameters

-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

Required?

false

Position

9

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Context <Byte[]>

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

Aliases

None

Required?

false

Position

3

Default value

Accept pipeline input?

false

Accept wildcard characters?

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.

Aliases

None

Required?

false

Position

4

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-EndTime <DateTime>

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

Aliases

None

Required?

false

Position

6

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-ID <String>

Specifies the ID of a patch schedule.

Aliases

None

Required?

true

Position

2

Default value

Accept pipeline input?

false

Accept wildcard characters?

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.

Aliases

None

Required?

false

Position

7

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Plugin <String>

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

Aliases

None

Required?

false

Position

8

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-StartTime <DateTime>

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

Aliases

None

Required?

false

Position

5

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-VirtualDesktopName <String>

Specifies the name of a personal virtual desktop.

Aliases

None

Required?

true

Position

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

Null

Notes

None

Examples

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)

Online Version
Get-RDPersonalVirtualDesktopPatchSchedule
New-RDPersonalVirtualDesktopPatchSchedule
Remove-RDPersonalVirtualDesktopPatchSchedule