The values in the following will be used to complete our example Horizon PowerCLI commands. Some portions of the text are in bold: these represent objects that are created automatically within vCenter, but that are not visible to the end user (such as vm or Resources) or objects that are unique to each environment (such as host, referring to a vSphere server hostname). These objects must be included in the PowerCLI command; otherwise, it will not work:
Configuration object |
Example value |
The AD domain name. |
vjason.local |
The AD group used for example commands. |
Engineering_Horizon_Users |
The AD user used for example commands. |
Charles Xavier (vjasoncharles) |
The destination vCenter folder for Horizon desktops, including the path. |
/RTP/Desktops |
The linked clone OS disk storage. |
/RTP/host/HOR-Cluster1/DS1 |
The linked clone persistent (user) data disk storage. |
/RTP/host/HOR-Cluster1/DS2 |
The linked clone replica disk storage. |
/RTP/host/HOR-Cluster1/DS3 |
For full clone desktops, each datastore serves the same role. We still need to specify a destination datastore for our desktops, but only one is explicitly required with full clones. |
|
Linked clone desktop parent VM, including the path. |
/RTP/vm/Master/Win10x32-LC |
The vCenter datacenter. |
RTP |
The vCenter server name. |
Vc-01.vjason.local |
The Horizon vCenter AD service account. |
vjasonsvc-horizon |
The Horizon composer server AD account. |
vjasonsvc-composer |
The Horizon composer AD domain. |
vjason.local |
The Horizon connection server used. |
Horcon1.vjason.local |
Horizon Engineering users AD group. |
Engineering_Horizon_Users |
The Horizon folder for the engineering desktop pool. |
Engineering |
Virtual machine snapshot 1 name. |
Base |
Virtual machine snapshot 2 name. |
UpdatesApplied |
The virtual machine template for full clone desktops with the path. |
/RTP/vm/Master/Win10x32-FC |
The vSphere cluster for desktops with the path. |
/RTP/host/HOR-Cluster1 |
The vSphere resource pool for desktops with the path. |
/RTP/host/HOR-Cluster1/Resources |
vSphere Windows customization specification. |
Hor_Full_Clones |