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
Start the PowerShell Console with View PowerCLI Loaded
You can run the View PowerCLI cmdlets directly on a View Connection Server host.
Prerequisites
Verify that the View Connection Server host has the following software installed.
n
View 4.5 or later
n
Microsoft .NET framework
n
Windows PowerShell 1.0
Procedure
1 Log in to the View Connection Server instance as a user in a role that has sufficient privileges to modify
configuration data.
For example, the Administrators role can modify configuration data. A read-only role cannot update
configuration data.
2 Select Start > All Programs > VMware > View PowerCLI.
What to do next
If you receive an error message that states the script configuration file cannot be loaded because the
execution of scripts is disabled, type the PowerShell Set-ExecutionPolicy Unrestricted command and
restart the PowerShell console.
Use View PowerCLI cmdlets from a Remote System
You can use the PowerShell remoting feature to access View PowerCLI cmdlets from a remote system.
Procedure
1 On the remote system, open the C:\Windows\System32\WindowsPowerShells\v1.0\Profile.ps1 file in a
text editor.
2 Add the line add-pssnapin vm* to the Profile.ps1 file.
3 Save your changes.
The View PowerCLI snapin to the PowerShell profile is added on the remote system.
What to do next
Take the same precautions for protecting the View PowerCLI operations as you would for other remoting
PowerShell operations.
Display Help for View PowerCLI
You can display help for View PowerCLI by typing commands in the PowerShell console.
Procedure
1 On a View Connection Server instance, select Start > All Programs > VMware > View PowerCLI.
View Integration
28 VMware, Inc.