< Back

Remove-RDPersonalVirtualDesktopPatchSchedule

Thu Apr 04, 2019 5:42 am

NAME Remove-RDPersonalVirtualDesktopPatchSchedule



SYNOPSIS

Removes a patch schedule from a personal virtual desktop.





SYNTAX

Remove-RDPersonalVirtualDesktopPatchSchedule [[-VirtualDesktopName] <String>] [[-ID] <String>] [[-ConnectionBroker] <String>] [-Force] [-Confirm]

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-RDPersonalVirtualDesktopPatchSchedule cmdlet removes a patch schedule from 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.



Required? false

Position? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ID [<String>]

Specifies the ID of a patch schedule. If you do not specify a value, the cmdlet removes all patch schedules.



Required? false

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-VirtualDesktopName [<String>]

Specifies the name of a person virtual desktop. If you do not specify a value, the cmdlet removes patch schedules for all personal virtual

desktops.



Required? false

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS

Null







Example 1: Remove a patch schedule by using an ID



PS C:\\> Remove-RDPersonalVirtualDesktopPatchSchedule -ID "{58E69A71-AFC9-49A6-81B9-494DA20216AC}"



This command removes the path schedule that has the ID "58E69A71-AFC9-49A6-81B9-494DA20216AC" from the local computer.





Example 2: Remove a patch schedule without a confirmation prompt



PS C:\\> Remove-RDPersonalVirtualDesktopPatchSchedule -ID "{58E69A71-AFC9-49A6-81B9-494DA20216AC}" -Force



This command removes the path schedule that has the ID "58E69A71-AFC9-49A6-81B9-494DA20216AC" from the local computer. The Force parameter

specifies that the server removes the patch schedule without prompting you for confirmation.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294245

Get-RDPersonalVirtualDesktopPatchSchedule

Set-RDPersonalVirtualDesktopPatchSchedule

New-RDPersonalVirtualDesktopPatchSchedule