Discussion:
Script for Hyper V
(too old to reply)
Tom
2009-10-28 17:34:05 UTC
Permalink
Hello all,

I need a script that will do the follow for each virtual machine (If
possible):

1.Shut down the virtual machine.
2. Delete the snapshot (That will trigger avhd merge)
3.Start virtual machine
4.Take snapshot

My appologies if I'm posting it in the wrong group.

Thank you,

Tom
Martin Zugec
2009-11-06 12:40:48 UTC
Permalink
Hi Tom,

I would recommend to post that question to Powershell group.

You should maybe look at Hyper-V library here: http://www.codeplex.com/PSHyperv

I personally prefer to use Hyper-V WMI classes.

Martin

Loading...