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 PowerShell SDK during the installation of the Desktop Controller role machine(s).
To be able to run a PowerShell script (.ps1
format), you have to enable the script execution from the PowerShell prompt in the following way, using its application:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force