vCloud Director Snapshots with PowerCLI

June 12, 2013

Table of Contents

Providers and users running vCloud 5.1 have access to take a single snapshot of your VMs.to be able to have all the fun you want with the snapshots in powerCLI you are going to need what I have in this article today. powerCLI 5.1 currently supports only the vCloud API 1.5 which means there are no no 5.1 capabilities as per now. The module uses the current powerCLI for its session and API access then holds on some 5.1 snapshot thrilling. Though to use the module, you just have to download the.psm1 file and then:

Import-Module vCloudSnapshots.psm1

You will then have access to 4 cmdlets:

Get-CISnapshot

New-CISnapshot

Remove-CISnapshot

Set-CISnapshot

If you then want snapshots, you can get them by:

# Get vApps with Snapshots

Get-CIVapp | Get-CISnapshot

# Get VMs with Snapshots

Get-CIVM | Get-CISnapshot

# Get Snapshot info for a particular VM

Get-CIVM “MyVM” | GetCISnapshot

Quick reminder that all the cmdlets apply to a VM or vApp, so ensure at all times that you are doing a Get-CIVM or Get-CIVapp first. To drive the point here is an example of creating, reverting and removing:

# Create a snapshot for a vApp (or all VMs in the vApp, really.)

Get-CIVApp “MyVApp” | New-CISnapshot

# Revert to our snapshot

Get-CIVApp “MyVApp” | Set-CISnapshot -revertToCurrent

# Remove our snapshot

Get-CIVApp “MyVApp” | Remove-CISnapshot

 

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.

VMware Fusion 6.0.2 Update Released

VMware have just released a maintainance update (6.0.2) for their Mac based Fusion product. This minor update addresses a number of bug fixes to the recently released Fusion 6.X virtualization

VMware trademark guide

VMware trademark guide a very important resource for bloggers, technical writer .VMware employees and partners who have less interest in blogs .the guide is intended to provide guidance regarding the

PowerCLI in the Cloud

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

Add vCloud Harddisks with PowerCLI

Add vCloud Harddisks with PowerCLI When it comes to adding new disks to a VM,it is a little tough and you must be careful due to the many implementation of

Dedicated SERVER Special
50% OFF for Life!

🔥 DELL Bare-metal Dedicated Server in New York

🔹  Intel Gold 80 Cores
🔹  23TB SSD Flash +
🔹1TB NVMe (W RAID)
🔹 1TB DDR4 RAM 
🔹 10Gbps Redundant Uplinks 
🔹 10 IPv4 + IPv6 Addresses Included 

💲 Just $699/month – 50% OFF FOR LIFE! (Reg $1399/month)
🚀 Zero Setup Costs | Flexible OS: Ubuntu, Proxmox, ESXi, Windows, etc.

✅ Reserve Risk-Free! 30-Day Money-Back Guarantee
💡 100% Uptime Assurance – Enterprise-Grade Hardware 

🖥 Ideal for Virtualization, Data-Intensive Apps, & High Traffic Sites

Use coupon code at checkout for the discount to apply FBHEO3023EJFB
⚡ Limited Availability – Don’t Miss Out!

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