Preparing a Windows 2008 Server to be used as an openQRM Hyper-V Host

From openQRM
Revision as of 10:27, 30 October 2020 by Stvsyf (talk | contribs) (Created page with "Hyper-V PowerShell cmdlet http://pshyperv.codeplex.com/releases # In the Server configuration wizard, enable .NET # In the Server Roles window, start Hyper-V # [http://pshyp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hyper-V PowerShell cmdlet

http://pshyperv.codeplex.com/releases

  1. In the Server configuration wizard, enable .NET
  2. In the Server Roles window, start Hyper-V
  3. Download Hyper-V cmdlet and extract the files.
  4. Install the cmdlet. Be sure to run the terminal as Administrator
  5. When a Registry Editor warning pops up, click 'Yes'
  6. If you get the message pictured here after installation, Close PowerShell and proceed:
  7. 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.
  8. Import the midule and test it's function. This is done by openign PowerShell and inputing:
  9. Import-Module 'C:\Program Files\Modules\Hyperv\Hyperv.psd1'
  10. Create a profile to auto star the cmdlet:
    1. New-Item -path $profile -type file -force
  11. Navigate to your newly created profile and open it in notepad
  12. Insert this line into the document and save it:
    1. Import-Module 'C:\Program Files\Modules\Hyperv\Hyperv.psd1'
  13. Navigate to the Global Profile and open it in Notepad. Insert and save this line:
    1. Import-Module 'C:\Program Files\Modules\Hyperv\Hyperv.psd1'