In this recipe, we will describe how to create the connection between the hypervisor and XenDesktop servers, and the way to generate machines to assign to the end users, all by using Citrix PowerShell.
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 of being able to run a PowerShell script (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 section, we will discuss the PowerShell commands used to ...