I have downloaded pshyperv scripts from
and installed in my hyperv server 2012 r2 machine. When I say Get-Module -ListAvailable from my hyperv server, it shows that hyperv module. I also imported it without any errors. After importing hyperv module, none of the
commands are working. Not even a single command in hyperv module. If i use get-vm or get-vmprocessor , it says , Get-WmiObject: Invalid class "MSVM_ComputerSystem". I used Get-VMSwitch and it says, Invalid class "MSVM_VirtualSwitch" . I
dont find MSVM_ComputerSystem Class in gwmi -list -namespace "root\virtualization". Am I missing something or should I install something else?