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.

SolusVM Easy Quick Install

Quick Easy Install Debian/Ubuntu apt update reboot wget https://files.soluslabs.com/install.shsh install.sh Centos yum update reboot wget https://files.soluslabs.com/install.shsh install.sh If you get an error it is because you need to install: wget Try a

Fast Easy Manual cPanel Install

Installation Guide – cPanel Install Use operating system Centos 64bit with 4GB Ram and at least 50GB Disk. Login to your server using SSH and using port 22 user: root

Release: Veam Backup & Replication 6.5

For those not aware, there has been a new release of the Veam Backup & Replication 6.5. It’s very interesting, the first backup solution for vSphere 5.1 and windows Server

vCloud VM and VApp Backups with PowerCLI

It appears that at times snapshots solve it and asking the vCloud VM provider to set up backups is unrealistic, these examples will explain it: • Upgrades with testing could

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