Scripting Blog

A place to learn about PowerShell and share stories of automation

Recovering Virtual Machines in Hyper-V Server 2012 R2: Part 4

Summary: Use Windows PowerShell to import virtual machines that were not exported.  Hey, Scripting Guy! Over the weekend, I rebuilt our Hyper-V Server 2012 R2 environment. All of the machines and configuration data are on a second drive. I’d like to avoid spending all afternoon manually re-creating over 200 virtual ...

Recovering Virtual Machines in Hyper-V Server 2012 R2: Part 3

Summary: Re-create network switches by using only Windows PowerShell.  Hey, Scripting Guy! As part of our continuing disaster recovery tests, my organization would like to know if it is possible to re-create the Hyper-V virtual switches in an isolated location without using the GUI? —SH  Hello SH, Honorary Scripting Guy, Sean ...

Recovering Virtual Machines in Hyper-V Server 2012 R2: Part 2

Summary: Use Hyper-V cmdlets to identify missing network configurations in virtual machines.  Hey, Scripting Guy! This week we are working on some business continuity and disaster recovery practices. One of the documents we are building involves how to rebuild a Hyper-V virtual machine in our Windows Server 2012 R2 environment. ...