Showing results for Hyper-V - Scripting Blog [archived]

Oct 17, 2013
Post comments count0
Post likes count0

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

Doctor Scripto
Doctor Scripto

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 machines in ...

Scripting Guy!Windows PowerShellguest blogger
Oct 16, 2013
Post comments count0
Post likes count0

PowerTip: Create a Virtual Switch in Hyper-V with Windows PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use built-in Hyper-V cmdlets to create virtual switches.  How can I use Windows PowerShell in Hyper-V Server 2012 R2 to create a virtual switch on a private LAN?  Use the New-VMSwitch cmdlet.          For example, to create a virtual switch called SuperSecretLan that you can ...

Windows PowerShellPowerTipSean Kearney
Oct 16, 2013
Post comments count0
Post likes count0

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

Doctor Scripto
Doctor Scripto

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 Kearne...

Scripting Guy!Windows PowerShellguest blogger
Oct 15, 2013
Post comments count0
Post likes count0

PowerTip: Identify Configuration Changes for Hyper-V Virtual Machines

Doctor Scripto
Doctor Scripto

Summary: Use Hyper-V cmdlets in Windows Server 2012 to identify what a virtual machine needs.  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?  Use Compare-VM, target the .xml file with the configuration d...

Windows PowerShellPowerTipSean Kearney
Oct 15, 2013
Post comments count0
Post likes count0

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

Doctor Scripto
Doctor Scripto

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. Can y...

Scripting Guy!Windows PowerShellguest blogger