In this recipe, we will demonstrate how to create a network label specification file by exporting the configuration of an existing virtual desktop master image.
To export the network label specification file that will be used to create linked-clone pools, we need a virtual desktop master image that is configured with our desired virtual machine network settings. The virtual machine should also have a snapshot taken, as this is a prerequisite for images that will be used to create linked-clone desktop pools.
The following example command reads the network labels of the virtual machine networks for the specified linked-clone parent VM, which is located in the specified vSphere cluster and vCenter Server. The maximum number of VMs that will be created per network label is 250
, and the network label specification file will be created on the D
drive:
Export-NetworkLabelSpecForLinkedClone -ClusterPath "/RTP/host...