Preparing a Windows 2008 Server to be used as an openQRM Hyper-V Host
From openQRM
Hyper-V PowerShell cmdlet
http://pshyperv.codeplex.com/releases
- In the Server configuration wizard, enable .NET
- In the Server Roles window, start Hyper-V
- Download Hyper-V cmdlet and extract the files.
- Install the cmdlet. Be sure to run the terminal as Administrator
- When a Registry Editor warning pops up, click 'Yes'
- If you get the message pictured here after installation, Close PowerShell and proceed:
- Navigate to the Hyper-V folder in your modules directory. Open the properties menu for every item in this folder, click 'unblock' in all of them.
- Import the midule and test it's function. This is done by openign PowerShell and inputing:
- Import-Module 'C:\Program Files\Modules\Hyperv\Hyperv.psd1'
- Create a profile to auto star the cmdlet:
- New-Item -path $profile -type file -force
- Navigate to your newly created profile and open it in notepad
- Insert this line into the document and save it:
- Import-Module 'C:\Program Files\Modules\Hyperv\Hyperv.psd1'
- Navigate to the Global Profile and open it in Notepad. Insert and save this line:
- Import-Module 'C:\Program Files\Modules\Hyperv\Hyperv.psd1'