Check the version of Powershell in Hyper-V.
Type $Host.version
It should be version 2.0
Install the Hyper-V Module Scripts from PSHyperV_Install.zip from CodePlex
UnZip and copy the underlying HyperV_Install folder contents to the Documents/windowsPowershell/HyperV folder of the administrator, the full path should look like
c:\Users\Administrator\Documents\windowsPowershell\modules\HyperV
You could do the same to other users as well or use the installer provided to load to all users with a manual setup.
On the Hyper-V Command Prompt type Powershell to go to the powershell prompt
Type
PS>Import-Module HyperV to load the Hyper V module commands
PS>Get-VMSummary to see a list of Virtual Machines on the box
PS>Start-VM "VMElementName" to start the Machine if its not running.
No comments:
Post a Comment