Question

Background: I am using Hyper-V on Server 2008 to manage many virtual servers. I have scripts that have been built to make changes or apply updates to some or all of these virtual servers. Using the Hyper-V Manager, I am able to snapshot these virtual servers prior to doing an update, then roll back the changes if there is a problem.

The Question: What I would like to do is script from a batch file or something similar this whole process of the snapshot on Hyper-V on Microsoft Windows Server 2008. How can you trigger a snapshot from the windows command prompt in Hyper-V?

Thanks in advance for any hep with this.

Was it helpful?

Solution

Here is how to do it with powershell

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top