Those who are active with PowerCLI sessions at VMWorld, you may still be having in your mind the mention of a vCloud snapin coming soon. It is going to be the first Powershell snapin that allows administration of your hybrid cloud environment.

PowerCLI 5.01 is now available with a new snapin for vCloud Director 1.5.

Take a look at it:

PS > Get-PowerCLIVersion

PowerCLI Version

—————-

 VMware vSphere PowerCLI 5.01

—————

Snapin Versions

—————

 VMware AutoDeploy PowerCLI Component 5.0

 VMware ImageBuilder PowerCLI Component 5.0

 VMware vCloud Director PowerCLI Component 1.5

 VMware License PowerCLI Component 5.0

 VMware vSphere PowerCLI Component 5.0

 

PS > Get-PSSnapin vmware.vimautomation.cloud

Name : vmware.vimautomation.cloud

PSVersion : 2.0

Description : This Windows Powershell snap-in contains This Windows Powershell for managing Cloud..

Here is the cloud cmdlets we get in this release:

 get-command -Module vmware.vimautomation.cloud | select name

Name

—-

Connect-CIServer

Disconnect-CIServer

Get-Catalog

Get-CIRole

Get-CIUser

Get-CIVApp

Get-CIVAppTemplate

Get-CIView

Get-CIVM

Get-ExternalNetwork

Get-Media

Get-Org

Get-OrgNetwork

Get-OrgVdc

Get-ProviderVdc

Import-CIVApp

Import-CIVAppTemplate

In this release there are cmdlets for both the vCloud provider admin, and the vCloud Org admin included in this release, this will make your life easy whether you run vCloud Director internally or use a public Cloud provider like Bluelock. The cmdlets are such that there are those that are available for both Org and Provider admins. Below they are tested in a hybrid environment using  a local vSphere and a public vCloud Provider. For  you to connect as Org admin, you will need your username , password and Org.

 Connect-CIServer -org MyOrg -User Jake -Password cloud 

You will connect to both internal vSphre environment public cloud provider if you have both. Doing a

Get-VM
and then a Get-CIVM will list your VMs in both environments.                                       

Leave a Reply

You must be logged in to post a comment.