Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 35736

Recreate a VM .. over and over again

$
0
0
For the kind of work I do, I have to create same kind of VM’s very frequently.. sometimes multiple times in a day. So I thought will automate the process and wrote a sample script… hope this helps.   Background I am using Differencing Disks – the master HDD is a Windows 7 Trial , sysprep-ed and marked as Read-Only VHD. Locations are hardcoded. All I am doing is checking if the VM exists, stop and delete everything associated with the VM, then proceed to creating the differencing disk and then...(read more)

Viewing all articles
Browse latest Browse all 35736

Trending Articles