Wednesday, February 11, 2009

Enabling PowerShell on Hyper-V Server 2008 R2

 

Enabling PowerShell on Hyper-V Server 2008 R2

One of the new capabilities of Microsoft Hyper-V Server 2008 R2 is that you can now enable PowerShell on it.  This is really helpful for when you want to perform basic tasks locally instead of having to use the remote user interface.  In order to do this all you need to do is to run the following command:

start /w ocsetup MicrosoftWindowsPowerShell

After that you can start a PowerShell command window by running:

start C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe

And you can see the results here:

powershell

Cheers,
Ben

Published Tuesday, February 10, 2009 6:58 PM by Virtual PC Guy

Virtual PC Guy's WebLog : Enabling PowerShell on Hyper-V Server 2008 R2

No comments:

Blog Archive