This is one of the principal PowerShell command groups for XenDesktop, because of the interaction with the Desktop Broker component. This section will be about the use of the set of commands to manage the broker, in terms of displaying configurations and setting components and parameters.
No preliminary tasks are required. You have already installed the Citrix XenDesktop PowerShell SDK during the installation of Desktop Controller role machine(s).
To be sure of being able to run a PowerShell script (the
.ps1 format), you have to enable the script execution from the PowerShell prompt by executing the following command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force