Solved

VMWare snapsots

  • 7 November 2019
  • 9 replies
  • 251 views

Good afternoon… Has anyone utilized a worklet to automate snapshots of a VM prior to patching?

icon

Best answer by patcutrone 8 November 2019, 15:55

View original

This topic has been closed for comments

9 replies

Userlevel 7

I’ve had someone attempt it but they told me that it wasn’t the most elegant solution. Let me see if I can get the code from them for it.

Thank you… I would appreciate the help!

@rwagner,


Happy to help, here’s my ‘un-elegant’ attempt (rename to .ps1) PStoCheckpoint.pdf (2.4 KB) ) 😉 It uses O365 to notify me, but you can remove that part if you wish. Also I have a step in there to go and retrieve an encrypted password from a file so that I can avoid sending my passwords in plain text. Feel free to just enter yours in the file as the $pass credential to get around that part or just make the file in the right location if you wish.


Let me know if I can help further 😉


Pat

Userlevel 4

Is there a way to tie this directly to an Automox patching policy?


It’d be great if there was a way to run pre/post patching scripts within Automox.

Userlevel 7

Unfortunately not at this time. You can’t insert anything into the patch policy itself. Our plan is to eventually have conditional policies where one can trigger another, but that’s in the future.

Userlevel 7

also, @patcutrone was attempting to do what you’re looking at doing, but for HyperV instead of VMware. She didn’t end up getting it working in a manner that was automated enough, but perhaps VMware might be better suited to the task.

Userlevel 4

Policy grouping (or workflows) would be fantastic, as that would really eliminate a lot of the manual intervention we do now for servers.


Is there a roadmap item I could go vote on for that? 🙂

Fantastic! Thank you

Userlevel 7

This would be the one: