Rodney Buike - Founder and original lazy admin. MVP: System Center Cloud and Datacenter Management

Daniel Nerenberg - Lazy admin 2.0. MVP: Windows Expert - IT Pro

Disclaimer

These postings are provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

PowerShell and Hyper-V R3

Windows PowerShell is a “powerful” method of managing servers and in Windows 8 it becomes even more powerful.  Hyper-V R1 and R2 didn’t have native PowerShell cmdlets built in.  If you deployed SCVMM you would have access to the VMM servers cmdlets or you could download the PowerShell Management Library for Hyper-V from Codeplex.

In Windows 8 there are specific cmdlets for Hyper-V (around 150 by my count) to help you manage your Hyper-V R3 environment via the command line.  Eric Bahna from Microsoft produced this video detailing some of the things you can do with PowerShell in Hyper-V R3.

I know it is hard to see what is going on but thankfully he produced a set up guide and a step by step guide so you can reproduce this demo in your test lab.

One thing to note is how to import the PowerShell Module for Hyper-V R3.  It is pretty simple, just launch PowerShell and run the following one liner

Get-Command –Module Hyper-V

You can find a full list of all the Hyper-V R3 cmdlets in the TechNet Library.

Comments are closed.