Howdy
Can anyone help me with an analysis that would query all of the Windows 2008, 2008R2, and 2012 servers for the value of a wmi class so that I can find the systems enabled a multiple user Terminal Servers, while excluding the systems that just are enabled for RDP?
I know the query in powershell, but I have issues connecting to all of the servers. This is the class that I need to query and the value I believe is a 1 or 2 depending on what mode is installed.
Get-WmiObject -Namespace “root\CIMV2\TerminalServices” -Class “Win32_TerminalServiceSetting” -ExpandProperty TerminalServerMode