Retrieving system information – Configuration Service cmdlets
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.
Getting ready
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
How to do it…
In this section, we will explain and execute the commands associated with the XenDesktop System and Services configuration area:
Connect to one of the Desktop Broker servers, by using a remote Desktop connection, for instance.
Right-click on the PowerShell icon installed on the Windows...