5.1
Table Of Contents
- VMware View Integration
- Contents
- Introduction
- Integrating with the Event Database
- Using View PowerCLI
- Introduction to View PowerCLI
- View PowerCLI Cmdlets
- View Administrator, View PowerCLI Cmdlet, and vdmadmin Operations
- View PowerCLI Cmdlet Parameters
- Examples of Using View PowerCLI Cmdlets
- Displaying Information About a View Connection Server Instance
- Updating the Configuration of a View Connection Server Instance
- Managing the Configuration of vCenter Servers in VMware 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 Manual Unmanaged Desktop Pools
- Creating and Updating Desktops Provisioned by Terminal Servers
- Obtaining Information About Users and Groups from Active Directory
- Managing Desktop Entitlements
- Managing Local Desktops
- Managing Remote Sessions
- Managing Virtual Machines
- Displaying Information About Physical Computers
- Updating the Ownership of Machines
- Displaying Information About Events
- Managing the Global Configuration of VMware View
- Managing View Licenses
- Examples of Using View PowerCLI for Enhanced Functionality
- Customizing LDAP Data
- Integrating with SCOM
- View Management Packs
- Name a View Connection Server Group
- Import the View MPs
- View Discovery Script
- Run the Discovery Script
- Display Discovered Objects
- Display Managed Objects
- Views and Monitors
- Enable a Proxy Agent on a Server
- Display Performance Data
- Display Information About an Alert
- Restart a Service
- Exclude a Domain from Connectivity Monitoring
- Close Alerts
- Class and Relationship Definitions
- Examining PCoIP Session Statistics
- Index
VMware, Inc. 31
Chapter 3 Using View PowerCLI
Get-Pool -pool_id Pool1 | Update-ManualPool -pool_id Pool2 -displayName “Manual Pool 2”
Escaping Characters in vCenter Path Names
If you specify a path to a vCenter folder that includes certain special characters in the name of an entity, you
must escape these characters. Table 3-1 shows the escape sequences for special characters.
Do not escape the slashes in the path name itself. For example, you would represent the path to the folder
/datacenter_01/vm/img%-12 as /datacenter_01/vm/img%25-12.
Table 3-2 lists the cmdlets and parameters that require you to use escape sequences in entity names.
View PowerCLI Cmdlets
You can use View PowerCLI cmdlets to administer VMware View on a View Connection Server instance. You
can use the Get-Help cmdlet to obtain more help about a View PowerCLI cmdlet as described in “Displaying
Help for a View PowerCLI cmdlet” on page 30.
Table 3-3 lists the available View PowerCLI cmdlets ordered by noun.
Table 3-1. Escape Sequences for Special Characters
Special Character Escape Sequence
%%25
/%2f
\%5c
Table 3-2. Cmdlet Parameters Requiring Escape Sequences
Cmdlet Parameters Requiring Escape Sequences
Add-AutomaticLinkedClonePool
Update-AutomaticLinkedClonePool
-datastoreSpecs
-parentVMPath
-resourcePoolPath
-vmfolderPath
Add-AutomaticPool
Update-AutomaticPool
-datastorePaths
-resourcePoolPath
-templatePath
-vmfolderPath
Send-LinkedCloneRecompose -parentVMPath
Table 3-3. View PowerCLI Cmdlets Ordered by Noun
Cmdlet Description
Add-AutomaticLinkedClonePool Adds an automatically provisioned linked-clone desktop pool.
Update-AutomaticLinkedClonePool Updates an automatically provisioned linked-clone desktop pool.
Add-AutomaticPool Adds an automatically provisioned full virtual machine desktop pool.
Update-AutomaticPool Updates an automatically provisioned full virtual machine desktop pool.
Get-ComposerDomain Returns information about View Composer.
Get-ConnectionBroker Returns information about View Connection Server and security server
instances.
Update-ConnectionBroker Updates the configuration of a View Connection Server or security server
instance.
Get-DesktopPhysicalMachine Returns a list of physical machines that are available for use with
unmanaged desktop pools.
Get-DesktopVM Returns information about virtual machines.
Get-EventReport Returns an event report for a specified view.