none
Hyper-V and Windows 8 (&8.1)

    Question

  • I'm trying to connect to Hyper-V in Windows 8.1 via visual studio/powershell and there appears to be bits missing.

    I suspect i already know the answer to this but thought i'd throw it out there just in case.

    Running this command in powershell:

    Get-WmiObject -List -Namespace "root\virtualization"

    Gives me a nice list of Classes, but i can't see the one i'm after - "Msvm_ComputerSystem"

    http://msdn.microsoft.com/en-us/library/cc136822%28v=vs.85%29.aspx

    If i do the same powershell command on Windows Server 2008R2 i get a much longer list of classes, including the one i can't see in Windows 8.1.

    Does anyone have any ideas or suggestions?  Is it just as simple as the Windows 8.1 flavour of Hyper-V is cut down and the only way of managing it is via the provided MMC snap in?

    Thanks in Advance,

    Pete

    Wednesday, October 23, 2013 7:39 AM

Answers

  • Hyper-V in Windows 8 deprecated the root\virtualization namespace although it was still present http://technet.microsoft.com/en-us/library/hh831568.aspx. It is removed in Windows 8.1. You should use the root\virtualization\v2 namespace instead. 

    John Howard, Senior Program Manager, Hyper-V Team, Microsoft Corporation.
    This posting is provided AS IS with no warranties, and confers no rights. You assume all risk for your use.

    • Marked as answer by andersop Monday, November 04, 2013 10:01 AM
    Thursday, October 31, 2013 5:28 PM
    Owner

All replies