This is how you can access vCloud using Microsoft PowerShell.
Please note that the vApp template we will be using should not have a network attached.
You need to install vSphere PowerCLI; you can download it from www.vmware.com/go/powercli.
When you install PowerCLI, make sure that you install it with the vCloud Director PowerCLI option, which is not installed by default. You can always reinstall PowerCLI with the correct settings. If you already have PowerCLI installed, you can re-run the installer to add the vCloud PowerCLI.
After you have installed PowerCLI, you have to run the following command in PowerShell to make it work:
Set-executionPolicy remotesigned
A really good program to use with PowerShell is the free software PowerGUI. It helps with exploring the API and its objects. You can download it from www.powergui.org.
After you have installed PowerGUI, you need to activate the VMware libraries by...