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 you are able to run a PowerShell script (
.ps1 format), you have to force enable script execution from the PowerShell prompt as follows:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
In this section, we will explain and execute ...