23 septembre 2013
Bulk Registering Virtual Machines with PowerShell
I recently rebuilt a Hyper-V server – where all of my virtual machines were shutdown first and stored on a secondary disk. Once I had finished installing the operating system and had Hyper-V up and running – I wondered what the most efficient way to get the virtual machines all reconnected would be. I ended up using PowerShell to do a bulk import; however this did involve a bit of experimentation to get right.
The first thing I had to deal with was the fact that our “import-VM” command requires that you provide a .XML... [Lire la suite]