Integration

Table Of Contents
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.