Reference for Win32_TerminalService
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Terminal Services

Description (Beschreibung):

The Win32_TerminalService class provides Terminal Service load balancing indicators.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_TerminalServiceYesYes---

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
AcceptPauseYesYes---
AcceptStopYesYes---
CaptionYesYes---
CheckPointYesYes---
CreationClassNameYesYes---
DescriptionYesYes---
DesktopInteractYesYes---
DisconnectedSessionsYesYes---
DisplayNameYesYes---
ErrorControlYesYes---
EstimatedSessionCapacity-Yes---
ExitCodeYesYes---
InstallDateYesYes---
NameYesYes---
PathNameYesYes---
ProcessIdYesYes---
RawSessionCapacity-Yes---
ResourceConstraint-Yes---
ServiceSpecificExitCodeYesYes---
ServiceTypeYesYes---
StartedYesYes---
StartModeYesYes---
StartNameYesYes---
StateYesYes---
StatusYesYes---
SystemCreationClassNameYesYes---
SystemNameYesYes---
TagIdYesYes---
TotalSessionsYesYes---
WaitHintYesYes---

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ChangeYesYes---
ChangeStartModeYesYes---
CreateYesYes---
DeleteYesYes---
InterrogateServiceYesYes---
PauseServiceYesYes---
ResumeServiceYesYes---
StartServiceYesYes---
StopServiceYesYes---
UserControlServiceYesYes---

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TerminalService")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next

Links:

Link zur Original-Microsoft-Dokumentation