Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Identify Locations of Hyper-V Config Files

Summary: Use PowerShell to find the .xml files of Hyper-V virtual machines. How can I use Windows PowerShell to easily find the location of my virtual machines after I reinstalled Hyper-V in Windows Server 2008 R2? The virtual machine configuration is stored in an .xml file with a GUID, and you can use Get-ChildItem&...

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

Summary: Use Windows PowerShell to find your virtual machines in a recovered file system.  Hey, Scripting Guy! This week were working on some business continuity and disaster recovery practices. One of the documents we are building involves how to rebuild a Hyper-V machine in our Windows Server 2012 R2 environment. Can you tell ...

Use PowerShell to Create Virtual Switches

Summary: Learn how to use Windows PowerShell to easily create virtual switches in Hyper-V. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife and I are really looking forward to going to Atlanta to Windows PowerShell Saturday 005. It will be held at the Microsoft Office in Alpharetta, Georgia on October 26, 2013. There are still ...

Using PowerShell to Set Up Hyper-V

Summary: Microsoft Scripting Guy, Ed Wilson, explains how to use Windows PowerShell to simplify the Hyper-V set-up process. Microsoft Scripting Guy, Ed Wilson, is here. I am sitting here sipping a fairly nice cup of green tea. I wimped out this afternoon. I have a team meeting in a few minutes, so I did not take the time to make a proper pot ...

Create a New Virtual Machine with PowerShell: Part 3

Summary: Windows PowerShell MVP and honorary Scripting Guy, Sean Kearney, completes his series about using Windows PowerShell to create a virtual machine. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that the most frequent guest blogger is Sean Kearney. If you are new to the ...

Feedback usabilla icon