Connecting to vCloud Air servers and vCloud Director servers
Before you can start to use PowerCLI cmdlets to manage a vCloud Air or a vCD environment, you have to establish a connection to a vCloud Air or vCD server.
Tip
You can start any of the VMware Hands-on Labs for vCloud Air, to get a temporary vCloud Air account. Such a temporary vCloud Air account can be used to try the examples in this chapter. The temporary account will be reset after exiting the lab. You can find the VMware Hands-on Labs at http://labs.hol.vmware.com/ . While writing this chapter, I used HOL-1782-HBD-1 - VMware vCloud Air - Data Center Extension for testing. After starting the lab, you have to go to http://checkin.vcahol.com and enter your e-mail address to get your student account.
In the following image, you will see the temporary credentials we received from the Hands-on Lab.
The Connect-CIServer
cmdlet establishes a connection to the specified vCD servers.
The syntax of the Connect-CIServer
cmdlet is as follows...