今天在看XD的最佳实践,提到POOL计算机的登录方式的修改,XD4有UI的修改界面,XD5之后需要powershell命令进行配置。

具体可移步Citrix站点 http://support.citrix.com/article/CTX127842

1.Start a PowerShell session on XenDesktop 5 Controller by clicking the blue PowerShell icon on the taskbar or by navigating to PowerShell from the Start Menu.

2. Run the following command to load the Citrix Modules:
ASNP Citrix.*

3. Run the following command to list all the Desktop Groups in the environment and the respective properties:
Get-BrokerDesktopGroup

4. 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


PS 脚本其实就是个开关