I\'m trying to use the Get-VM Cmdlet called from C# on a Hyper-V host.
Get-VM
Obviously, the according PowerShell module Hyper-V has to be imported fi
Hyper-V
Have you looked at this yet?
http://code.msdn.microsoft.com/windowsdesktop/Windows-PowerShell-30-SDK-9a34641d
You might just need the new SDK to call Powershell 3 even if PSv3 is installed on your system already, but I'm usually just a straight Powershell guy.