Quantcast
Channel: ฟอรัม Remote Desktop Services (Terminal Services)
Viewing all articles
Browse latest Browse all 25135

How to get Windows Server 2012 VDI Status via WMI (or other API)

$
0
0

Hi,
I need to create a custom dashboard for displaying VDI connection info based on the VDI solution in Windows Server 2012. I'm pretty much trying to programatically access this information:

I'm guessing since Server Manager can do it it's somewhere in CIM/WMI. I've dabbled around in the various rdms namespaces, and I can get to the VM State (Off/Saved/running) but not the connection state:

$NameSpace = "Root\CIMV2\rdms"
$ClassName = "Win32_RDMSVirtualDesktop"
$VDI = Get-CimInstance -ClassName $classname -Namespace $NameSpace

I realize this is a longshot, but I thought I'd ask if anyone knew anything about a class I can look into.

regards,



Viewing all articles
Browse latest Browse all 25135

Trending Articles