I'm new to the VMWare powercli and I'm having some trouble making sense of the proper method of setting up a task in the scheduler.
What I need to do is setup a scheduled task that will revert a VM back to a snapshot each sunday. I'm open to any suggestions on how to proceed.
I was able to make this work properly to revert the VM back to the proper snapshot. How can I have this kicked off at a specific time and day of the week?
$snapshot = Get-Snapshot -VM vapptest -Name "clisnaptest"
Set-VM -VM vapptest -Snapshot $snapshot
Overall we will be rolling out a process that we will rollback several systems to a baseline GA build every sunday evening. I want to have this scheduled so it happens automatically.