In this recipe we will use and explain a general-purpose PowerShell cmdlet – the configuration service category. This is used to retrieve general configuration parameters and to obtain information about the implementation of the XenDesktop configuration service.
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 to be able to run a PowerShell script (in the
.ps1 format), you have to enable the script execution from the PowerShell prompt by executing the following command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
In this recipe ...