Im trying to use WMI to query running VM's
Get-WMIObject -namespace root\virtualization -class msvm_computersystem
When running this on the hyper-v host it only returns the name of the Hyperv host server
If I target a remote server using the -server switch, it lists the host and all the virtual machines.
How can I get proper information when running this locally on the server?