7.0

Table Of Contents
Displaying Network Label Assignments for a Pool
You can use the Get-Pool cmdlet to display the network label assignments for a pool. The
networkLabelSpecs output parameter shows the network labels that are assigned to the pool. You do not
need to add a parameter in the command line to display this information.
The following table describes the networkLabelSpecs output format.
Table 324. networkLabelSpecs Output Format
Value Description
nl Network label name.
nic NIC name.
enabled A value of 1 means the label is active. A value of 0 means it is disabled.
max Maximum number of virtual machines that can be assigned the network label.
usage Number of virtual machines currently assigned to the network label.
When the usage value equals the max value, View stops assigning that network label
and starts making assignments from the next available label.
The following Get-Pool cmdlet example shows network label assignments for the pool Pool2.
> get-pool -pool_id Pool2
...
networkLabelSpecs : [nl=desktop-auto01-230;nic=Network adapter 1;enable
d=1;max=239;usage=239];[nl=desktop-auto02-240;nic=N
etwork adapter 1;enabled=1;max=239;usage=239];[nl=vie
wscale-auto03-250;nic=Network adapter 1;enabled=1;max
=239;usage=239];[nl=desktop-auto04-260;nic=Network
adapter 1;enabled=1;max=239;usage=239];[nl=desktopauto05-
270;nic=Network adapter 1;enabled=1;max=239;us
age=239];[nl=desktop-auto06-280;nic=Network adapter
1;enabled=1;max=239;usage=239];[nl=desktop-auto07-
290;nic=Network adapter 1;enabled=1;max=239;usage=239
];[nl=desktop-auto08-300;nic=Network adapter 1;enab
led=1;max=239;usage=239];[nl=desktop-auto09-310;nic
=Network adapter 1;enabled=1;max=239;usage=88] ...
Displaying Network Label Assignments for a Virtual Machine
You can use the Get-DesktopVM cmdlet to display network label assignments for a virtual machine. The
netLabelAutoAssigns output parameter shows the NIC names and network labels that View attempted to
assign to the virtual machine. You do not have to add a parameter in the command line to display this
information.
If the enabled flag in the network label configuration file was set to 0, the netLabelAutoAssigns output
shows this feature is disabled.
The netLabelAutoAssigns output displays the network label assignments that View Connection Server
reserves for the virtual machine. To see the network labels that are assigned to the virtual machine in
vCenter Server, use the -getNetworkLabel parameter with the Get-DesktopVM cmdlet. For more information,
see “Displaying vCenter Server Network Label Assignments for a Virtual Machine,” on page 59.
View Integration
58 VMware, Inc.