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

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Processes and Services

Description (Beschreibung):

The Win32_Process WMI class represents a sequence of events on a Windows system. Any sequence consisting of the interaction of one or more processors or interpreters, some executable code, and a set of inputs, is a descendent (or member) of this class. Example: A client application running on a Windows system.

Availability (Verfügbarkeit):

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

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
CaptionYesYesYesYesYes
CommandLineYesYes---
CreationClassNameYesYesYesYesYes
CreationDateYesYesYesYesYes
CSCreationClassNameYesYesYesYesYes
CSNameYesYesYesYesYes
DescriptionYesYesYesYesYes
ExecutablePathYesYesYesYesYes
ExecutionStateYesYesYesYesYes
HandleYesYesYesYesYes
HandleCountYesYesYesYesYes
InstallDateYesYesYesYesYes
KernelModeTimeYesYesYesYesYes
MaximumWorkingSetSizeYesYesYesYesYes
MinimumWorkingSetSizeYesYesYesYesYes
NameYesYesYesYesYes
OSCreationClassNameYesYesYesYesYes
OSNameYesYesYesYesYes
OtherOperationCountYesYesYesYesYes
OtherTransferCountYesYesYesYesYes
PageFaultsYesYesYesYesYes
PageFileUsageYesYesYesYesYes
ParentProcessIdYesYesYesYesYes
PeakPageFileUsageYesYesYesYesYes
PeakVirtualSizeYesYesYesYesYes
PeakWorkingSetSizeYesYesYesYesYes
PriorityYesYesYesYesYes
PrivatePageCountYesYesYesYesYes
ProcessIdYesYesYesYesYes
QuotaNonPagedPoolUsageYesYesYesYesYes
QuotaPagedPoolUsageYesYesYesYesYes
QuotaPeakNonPagedPoolUsageYesYesYesYesYes
QuotaPeakPagedPoolUsageYesYesYesYesYes
ReadOperationCountYesYesYesYesYes
ReadTransferCountYesYesYesYesYes
SessionIdYesYesYesYesYes
StatusYesYesYesYesYes
TerminationDateYesYesYesYesYes
ThreadCountYesYesYesYesYes
UserModeTimeYesYesYesYesYes
VirtualSizeYesYesYesYesYes
WindowsVersionYesYesYesYesYes
WorkingSetSizeYesYesYesYesYes
WriteOperationCountYesYesYesYesYes
WriteTransferCountYesYesYesYesYes

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
AttachDebuggerYesYes---
CreateYesYesYesYesYes
GetOwnerYesYesYesYesYes
GetOwnerSidYesYesYesYesYes
SetPriorityYesYes---
TerminateYesYesYesYesYes

Sample Code (Beispiel):

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

Links:

Link zur Original-Microsoft-Dokumentation