6.1
Table Of Contents
- 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 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 RDS Hosts
- Obtaining Information About Users and Groups from Active Directory
- Managing Desktop Entitlements
- 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 View
- Managing View Licenses
- Examples of Using View PowerCLI for Enhanced Functionality
- Assign Multiple Network Labels to a Desktop Pool
- 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
- Dynamically Setting Desktop Policies with Start Session Scripts
- Index
View Integration
42 VMware, Inc.
Set the PCoIP external URL for a security server.
Update-ConnectionBroker -broker_id SECSVR-03 -externalPCoIPURL 10.116.32.136:4172
Managing the Configuration of vCenter Servers in View
Add an entry for a vCenter Server to the View configuration.
Add-ViewVC -serverName vc01.mydom.int -username Administrator -password clydenw
-createRampFactor 5 -deleteRampFactor 5
Return information about a vCenter Server.
Get-ViewVC -serverName vc01.mydom.int
Return information about all vCenter Servers in a specified DNS domain.
Get-ViewVC -serverName *.mycorp.com
Change the values of the ramp factors for the vCenter Server that is configured on server svr11.
Get-ViewVC -serverName svr11.mycorp.com | Update-ViewVC -createRampFactor 5 -deleteRampFactor 10
Change the value of the create ramp factor for the vCenter Servers that are configured in the DNS domain
mycorp.com.
Get-ViewVC -serverName *.mycorp.com | Update-ViewVC -createRampFactor 5
Remove an entry for a vCenter Server from the configuration.
Get-ViewVC -serverName vc02.mydom.int | Remove-ViewVC
Managing Desktop Pools
Return information about the desktop pool with a specified display name.
Get-Pool -displayName "My Pool 1"
Return information about all desktop pools with the prefix mypool-.
Get-Pool -pool_id mypool-*
Return information about all desktop pools that are configured to use the PCoIP protocol.
Get-Pool -protocol PCOIP
Return information about all individual unmanaged desktop pools.
Get-Pool -poolType IndividualUnmanaged
Remove the desktop pool dtpool-10.
Remove-Pool -pool_id dtpool-10
Remove the desktop pool dtpool-12, terminating any active session, but without deleting the image from disk.
Remove-Pool -pool_id dtpool-12 -TerminateSession $true -DeleteFromDisk $false
Remove a desktop pool specified by its display name, and delete its image from disk.
Get-Pool -displayName "My Pool 1" | Remove-Pool -DeleteFromDisk $true
Creating and Updating Automatically Provisioned Desktop Pools
Add the automatically provisioned desktop pool auto1, which is managed by the vCenter Server
vc.mydom.int.
Get-ViewVC -serverName vc.mydom.int | Add-AutomaticPool -pool_id auto1 -displayName "ADP1"
-namePrefix "adp1-{n:fixed=4}" -vmFolderPath /AutoConfig/vm
-resourcePoolPath /AutoConfig/host/Resources -templatePath /AutoConfig/vm/ADP_template
-dataStorePaths /host/datastore_1/lun10 -customizationSpecName "Windows 7 Variation 3"
-minimumCount 4 -maximumCount 10