Skip to content

Reset-CitrixRebootCycle

Citrix: Resets a reboot cycle

param(
	[Parameter(Mandatory = $true)]
	[string]$DesktopGroupName
)

try {
	Import-Module Citrix.Broker.Admin.V2 -ErrorAction Stop
	Reset-BrokerRebootCycle -DesktopGroupName $DesktopGroupName -ErrorAction Stop
	Write-Output "Successfully reset reboot cycle for '$DesktopGroupName'."
} catch {
	Write-Error $_
	exit 1
}

The name of the desktop group.

An interactive directory of PowerShell scripts.