Remove-CitrixRebootSchedule
Citrix: Removes a reboot schedule
param(
[Parameter(Mandatory = $true)]
[string]$Name
)
try {
Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
Remove-BrokerRebootSchedule -Name $Name -Force -ErrorAction Stop
Write-Output "Successfully removed reboot schedule '$Name'."
} catch {
Write-Error $_
exit 1
}The name of the reboot schedule.