In this recipe, we will discuss the utilization of the Active Directory Identity cmdlets. This is a functionality that permits retrieving and configuring the Active Directory objects used by Citrix XenDesktop, such as machine accounts assigned to existing desktop catalogs.
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 (
.ps1 format), you have to enable script execution from the PowerShell prompt using the following command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
The following are the steps ...