Search code examples
powershellcitrixvdixendesktop

How to Power off or shutdown XenDesktop Command?


I want to shut down or Power Off Citrix Xendesktop.

I tried many sites including Citrix docs but couldn't find anything for shutting down the Xendesktop.


Solution

  • Finally I was able to find the Cmdlet to Power off the XenDesktop.

    The command is New-BrokerHostingPowerAction -Action Shutdown -MachineName "$domain_name\$machine_name'.

    In above command one needs to supply the domain and machine name to poweroff/shutdown the xendesktop from Powershell.

    Reference