Set-CitrixRebootCycle
Citrix: Updates a reboot cycle
param(
[Parameter(Mandatory = $true)]
[string]$DesktopGroupName,
[Parameter(Mandatory = $true)]
[int]$WarningDuration
)
try {
Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
Set-BrokerRebootCycle -DesktopGroupName $DesktopGroupName -WarningDuration $WarningDuration -ErrorAction Stop
Write-Output "Successfully updated reboot cycle for '$DesktopGroupName'."
} catch {
Write-Error $_
exit 1
}The name of the desktop group.
Duration of the warning message in minutes.