PS: Managing Windows Processes
List all manageable properties of Windows Processes: PS C:> GWmi Win32_process | Where-Object {$_.ProcessName -match “notepad2″} ProcessName : Notepad2.exe Handles : 66 VM : 83861504 WS : 8183808 Path : C:tempnotepad2.exe __GENUS : 2 __CLASS : Win32_Process __SUPERCLASS : CIM_Process __DYNASTY : CIM_ManagedSystemElement __RELPATH : Win32_Process.Handle=”4716″ __PROPERTY_COUNT : 45 __DERIVATION : {CIM_Process, CIM_LogicalElement, CIM_ManagedSystemElement} __SERVER : Test-PC1 __NAMESPACE : rootcimv2 __PATH : \Test-PC1rootcimv2:Win32_Process.Handle=”4716” Caption : Notepad2.exe CommandLine : “C:tempnotepad2.exe” CreationClassName : Win32_Process CreationDate : 20110221055250.819087+000 CSCreationClassName : Win32_ComputerSystem CSName : TDI-GOT1027 Description : Notepad2.exe ExecutablePath : C:tempnotepad2.exe ExecutionState : Handle : 4716 HandleCount : 66 InstallDate : KernelModeTime : 1560010 […]
Read more