I have virtual machine that has windows 7 + visual studio 2010 setup, and my plan is to test some VS SDK development. Now I want to automate following tasks...
- Detach existing VHD
- Delete VHD
- Create a new Differencing VHD with base VHD as already good setup
- Attach it to the VM
- Start VM
I tried to look for any OCX or COM control to do these tasks automatically but no luck, I didn't find any COM library to do this.
However, if I can only delete and recreate a differencing VHD that also should be fine..., I know I can write to batch file to copy a backup of new VHD and do all these kinds of things, but I am looking for much more sophesticated solution where I can program in scripts and do more with it.