Q. Is there a set of PowerShell cmdlets for Hyper-V, outside of using System Center Virtual Machine Manager (VMM)? - 27 May 2011

A. VMM provides full PowerShell management for Hyper-V, but a group of developers has released a full set of PowerShell cmdlets for managing Hyper-V that doesn't require VMM. Once it's downloaded, export out to a folder and then install it by running

.\install.cmd

After installation, you can import the module into your PowerShell instance using the command

Import-Module "c:\Program Files\modules\HyperV\Hyperv.psd1"

You'll be asked if scripts should run. Press R each time you're prompted.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish