Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

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

Summary: Use Windows PowerShell to import virtual machines that were not exported. (image)  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. (image)  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 (image)  Hello SH, Honorary ...

PowerTip: Identify Configuration Changes for Hyper-V Virtual Machines

Summary: Use Hyper-V cmdlets in Windows Server 2012 to identify what a virtual machine needs. (image)  Is there a way to use Windows PowerShell to easily find why I can’t import virtual machine configurations when I perform a disaster recovery test on a Hyper-V Server? (image)  Use Compare-VM, target the .xml file ...

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

Summary: Use Hyper-V cmdlets to identify missing network configurations in virtual machines. (image)  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 ...