VMware are providing vSphere PowerCLI to make it possible to administer vSphere and vCloud Director using PowerShell.
A good startingpoint is the VMware vSphere PowerCLI Documentation page that is available at: https://www.vmware.com/support/pubs/ps_pubs.html
If you´re in a hurry you could follow my quick starting guide below:
Step 1. Download and install VMware vShere PowerCLI:
VMware vSphere PowerCLI is available for download from http://www.vmware.com/support/developer/PowerCLI/index.html
Select the release you want to download from the drop-down list and click on the download-link.
Double-click on the downloaded installation-package and follow the instructions to install PowerCLI.
Step 2. Start PowerCLI and connect to a vCenter Server:
Double-click on the “VMware PowerCLI” icon to start PowerCLI.
Use the CmdLet ‘Connect-VIServer’ as shown below to connect to the vCenter Server:
Connect-VIServer -Server <server-IP> -Protocol https -Username '<Username>' -Password '<Password>'
Now you are ready to explore and manage the VMware vCenter environment using PowerShell. Start by executing the following CmdLet to list all available commands.