Integration

Table Of Contents
Managing vCenter Server Instances in View
You can use View PowerCLI cmdlets to perform vCenter Server management tasks in View.
Table 316. Examples of Common vCenter Server Management Tasks in View
Task Example View PowerCLI cmdlet Syntax
Add a vCenter Server instance to the
View configuration
Add-ViewVC -serverName vc01.mydom.int -username Administrator
-password clydenw -createRampFactor 5 -deleteRampFactor 5
Get information about a specific vCenter
Server instance in View
Get-ViewVC -serverName vc01.mydom.int
Get information about all the vCenter
Server instances in a specific DNS
domain
Get-ViewVC -serverName *.mycorp.com
Change the ramp factor values for a
specific vCenter Server instance
Get-ViewVC -serverName svr11.mycorp.com | Update-ViewVC -
createRampFactor 5 -deleteRampFactor 10
Change the create ramp factor value for
all vCenter Server instances in a specific
DNS domain
Get-ViewVC -serverName *.mycorp.com | Update-ViewVC -
createRampFactor 5
Remove a vCenter Server instance from
the View configuration
Get-ViewVC -serverName vc02.mydom.int | Remove-ViewVC
Managing Desktop Pools
You can use View PowerCLI cmdlets to perform desktop pool management tasks.
Table 317. Examples of Common Desktop Pool Management Tasks
Task Example View PowerCLI cmdlet Syntax
Get information about a desktop pool that
has a specific display name
Get-Pool -displayName "My Pool 1"
Get information about all desktop pools
that have a display name with a specific
prefix
Get-Pool -pool_id mypool-*
Get information about all desktop pools
that are configured to use the PCoIP
display protocol
Get-Pool -protocol PCOIP
Get information about all individual
unmanaged desktop pools
Get-Pool -poolType IndividualUnmanaged
Remove a desktop pool that has a specific
pool ID
Remove-Pool -pool_id dtpool-10
Remove a desktop pool that has a specific
pool ID and terminate any active sessions,
but do not delete its image from disk
Remove-Pool -pool_id dtpool-12 -TerminateSession $true -
DeleteFromDisk $false
Remove a desktop pool that has a specific
display name and delete its image from
disk
Get-Pool -displayName "My Pool 1" | Remove-Pool -
DeleteFromDisk $true
Chapter 3 Using View PowerCLI
VMware, Inc. 39