List Terminal Services Terminal Settings

Lists the Terminal Service configuration settings on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more inform

Add to favorites
E-mail Twitter Digg Facebook
  • Get-WmiObject : Invalid class
    2 Posts | Last post January 21, 2015
    • On Windows Server 2008 R1 x64 SP2 and PowerShell 1 I get the following error:
      Get-WmiObject : Invalid class
      At ...\List_Terminal_Services_Terminal_Settings_ver01.ps1:5 char:26
      + $colItems = get-wmiobject  <<<< -class "Win32_TerminalServiceSetting" -namespace "root\CIMV2" `
    • For Server 2008 R2 with PowerShell version 2, I use -namespace "Root/CIMV2/TerminalServices"