Jump to content

Update script VMware snapshot


ARoode

Recommended Posts

  • 1 month later...
  • Administrators

Hi there,

You could install PowerCLI on the machine and then use it from Pulseway to create snapshots. All you need to do is create a snapshot before running updates:

https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FNew-Snapshot.html

I would keep the snapshot until you find updates again and at that point you delete the old snapshot and create a new one.

Get-VM | Get-Snapshot | Remove Snapshot

Make sure you add a filter to the first Get-VM call and maybe add a filter on the Get-Snapshot too by name.

-Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...