Integration
Table Of Contents
- View Integration
- Contents
- View Integration
- Introduction to View Integration
- Integrating View with the Event Database
- Using View PowerCLI
- Getting Started with View PowerCLI
- View Administrator, View PowerCLI, and vdmadmin Compared
- View PowerCLI cmdlet Reference
- View PowerCLI cmdlet Parameters
- Examples of Using View PowerCLI cmdlets
- Managing View Connection Server Instances
- Managing vCenter Server Instances in View
- Managing Desktop Pools
- Creating and Updating Automatically Provisioned Desktop Pools
- Creating and Updating Linked-Clone Desktop Pools
- Creating and Updating Manually Provisioned Desktop Pools
- Creating and Updating Manual Unmanaged Desktop Pools
- Displaying Information About Users and Groups
- Managing Desktop Entitlements
- Managing Remote Sessions
- Managing Virtual Machines
- Displaying Information About Physical Machines
- Updating Virtual Machine Ownership
- Displaying Event Reports
- Displaying and Updating Global Settings
- Displaying and Adding License Keys
- Examples of Using View PowerCLI to Perform Advanced Tasks
- Assigning Multiple Network Labels to a Desktop Pool
- Network Label Configuration File Format
- Example Network Label Configuration File
- Obtain and Export NIC and Network Label Information
- Verify and Edit a Network Label Configuration File
- Deploy a Desktop Pool That Uses Multiple Network Labels
- Displaying Network Label Assignments for a Pool
- Displaying Network Label Assignments for a Virtual Machine
- Displaying vCenter Server Network Label Assignments for a Virtual Machine
- Disable Automatic Network Label Assignments
- Customizing LDAP Data
- Integrating View with Microsoft SCOM
- Setting Up a SCOM Integration
- Assign a Name to the View Connection Server Group
- View Management Packs
- Import the View Management Packs on the SCOM Server
- Enable a Proxy Agent on a View Connection Server Host or Security Server
- Run the Discovery Script in the Operations Manager Console
- View Connection Server and Security Server Managed Objects
- View Object Classes and Relationships
- Monitoring View in the Operations Manager Console
- Setting Up a SCOM Integration
- Examining PCoIP Session Statistics with WMI
- Setting Desktop Policies with Start Session Scripts
- Index
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 57.
The following Get-DesktopVM cmdlet example displays network label assignments for the virtual machine
918 in the pool pool2.
> get-desktopvm -pool_id pool2
...
vm : 918
ps_object_type : vc_vm
id : VirtualMachine-vm-47878
vc_id : 2162aa44-e99c-4f1a-875d-dd295681d2ca
Name : pool2-1811
UnescapedName : pool2-1811
Path : /resource/vm/Discovered virtual machine/pool2/pool2-1811
GuestFullName : Microsoft Windows 7 (32-bit)
GuestID : windows7Guest
HostName : POOL2-1811.vdi3.net
IPAddress : 10.143.30.205
machine_id : 56496104-bf91-4d69-8bae-fb4493608542
user_sid :
user_displayname :
isInPool : true
pool_id : pool2
isLinkedClone : true
composerTask : refresh
netLabelAutoAssigns : {Network adapter 1=desktop-auto08-300} ...
Displaying vCenter Server Network Label Assignments for a Virtual Machine
vCenter Server can make additional network label assignments to virtual machines. These assignments are
outside the control of View.
To see the network labels that are assigned to a virtual machine in vCenter Server, use the -getNetworkLabel
parameter with the Get-DesktopVM cmdlet. You must type a Boolean value of $true in the command line to
enable the -getNetworkLabel parameter. The output of the Get-DesktopVM cmdlet displays the networkLabels
parameter, which shows the NICs and network label assignments that were made for the virtual machine.
The following Get-DesktopVM cmdlet example displays network label assignments made in vCenter Server
for the virtual machine 1849 in the pool pool2.
> get-desktopvm -pool_id pool2 -getnetworklabel $true
...
vm : 1849
ps_object_type : vc_vm
Chapter 3 Using View PowerCLI
VMware, Inc. 57