Reference for Win32_Terminal
|
|
Category (Kategorie): Terminal Services
Description (Beschreibung): The Win32_Terminal class is the element of the TerminalSetting association where groups such as: General, Logon, Session, Environment, Remote Control, Client, Network Adapter and Permission are several configuration setting classes.
Availability (Verfügbarkeit): WMI Class Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_Terminal | Yes | Yes | - | - | - |
Properties (Attribute): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | Caption | Yes | Yes | - | - | - | Description | Yes | Yes | - | - | - | fEnableTerminal | Yes | Yes | - | - | - | InstallDate | Yes | Yes | - | - | - | Name | Yes | Yes | - | - | - | Status | Yes | Yes | - | - | - | TerminalName | Yes | Yes | - | - | - |
Methods (Methoden): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | Enable | Yes | Yes | - | - | - | Rename | Yes | Yes | - | - | - |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Win32_Terminal")
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
Links:
Link zur Original-Microsoft-Dokumentation
www.IT-Visions.de, (C) Dr. Holger Schwichtenberg
|