vCloud Director Snapshots with PowerCLI
If you or your provider are already running vCloud Director 5.1, you now have access to take a single snapshot of your VMs!
If you want to play with snapshots in PowerCLI, you're going to need the module in this blog. PowerCLI 5.1 currently only supports the vCloud API 1.5, which means there are no 5.1 API capabilities yet. (I stress "yet." :D)
The module uses the current PowerCLI for it's session and API access, and then bolts on some 5.1 API snapshot magic.
To use the module, simply download the .psm1 file and:
After that, you'll have access to 4 cmdlets:
To get snapshots:
It should be noted that all the cmdlets apply to a VM or vApp, so always make sure you're doing a Get-CIVM or Get-CIVapp first.
For example...here's creating, reverting, and removing:
For more help, just use Get-Help and the command!
vCloud Snapshots Powershell Module
comments powered by Disqus