PowerCLI in the Cloud

June 16, 2013

Table of Contents

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.   

Home                                    

Share on
Facebook
Twitter
LinkedIn
Pinterest
More posts

Dedicated Servers Quick Guide

What is a Dedicated Servers? Why bother using a dedicated server over a VPS or Shared Hosting?A dedicated server is a server 100% dedicated to your website/project or business needs.

dvPortgroup Inheritance

Someone may claim the default settings for portgroup inheritance in the dvSwitches, they may be missing in the vSphere client but they still exist and can be set in the

vCheck6 Utility Commands

There is a new release of the vCheck6 and those with need for more info they can visit the vCheck 6 release page and ensure to visit the vCheck plugins

Get 90% Discount

First 3 People gets the Bonus!
Don't Miss Out Our Big Sale

Get 0-90% On All
247Rack Services

247Rack

The Sale Is Until The End Of March