Force XenDesktop Desktops to Shutdown after logoff
Click the blue PowerShell icon on the taskbar or navigating to PowerShell from the Start menu to start a PowerShell session on XenDesktop.
Run the following command to load the Citrix Modules:
ASNP Citrix.*
Run the following command to list all the Desktop Groups in the environment and the respective properties:
Get-BrokerDesktopGroup
Run the following commands to either enable or disable the power action of the Desktop, respectively:
Set-BrokerDesktopGroup -Name "Desktop Group Name" -ShutdownDesktopsAfterUse $True
Set-BrokerDesktopGroup -Name "Desktop Group Name" -ShutdownDesktopsAfterUse $False
Run the following command to load the Citrix Modules:
ASNP Citrix.*
Run the following command to list all the Desktop Groups in the environment and the respective properties:
Get-BrokerDesktopGroup
Run the following commands to either enable or disable the power action of the Desktop, respectively:
Set-BrokerDesktopGroup -Name "Desktop Group Name" -ShutdownDesktopsAfterUse $True
Set-BrokerDesktopGroup -Name "Desktop Group Name" -ShutdownDesktopsAfterUse $False
No comments