Skip to content

Instantly share code, notes, and snippets.

@tawman
Created April 15, 2012 19:34
Show Gist options
  • Save tawman/2394445 to your computer and use it in GitHub Desktop.
Save tawman/2394445 to your computer and use it in GitHub Desktop.
PowerShell Command Object Pipeline
PS C:\> Get-Process -id 5904
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
1651 71 71700 74296 306 256.05 5904 chrome
PS C:\> Get-Process -id 5904 | Format-List *
__NounName : Process
Name : chrome
Handles : 1650
VM : 316362752
WS : 71761920
PM : 73412608
NPM : 72800
Path : C:\Users\Todd\AppData\Local\Google\Chrome\Application\chrome.exe
Company : Google Inc.
CPU : 256.046875
FileVersion : 18.0.1025.162
ProductVersion : 18.0.1025.162
Description : Google Chrome
Product : Google Chrome
Id : 5904
PriorityClass : Normal
HandleCount : 1650
WorkingSet : 71761920
PagedMemorySize : 73412608
PrivateMemorySize : 73412608
VirtualMemorySize : 316362752
TotalProcessorTime : 00:04:16.0468750
BasePriority : 8
ExitCode :
HasExited : False
ExitTime :
Handle : 5148
MachineName : .
MainWindowHandle : 262878
MainWindowTitle : Implement IToddWood | Technology Blog for Todd A. Wood, Solution Architect and Owner of Wood Consulting Practice, LLC - Google Chrome
MainModule : System.Diagnostics.ProcessModule (chrome.exe)
MaxWorkingSet : 1413120
MinWorkingSet : 204800
Modules : {System.Diagnostics.ProcessModule (chrome.exe), System.Diagnostics.ProcessModule (ntdll.dll), System.Diagnostics.ProcessModule (wow64.dll), System.Diagnostics.ProcessModule (wow64win.dll)...}
NonpagedSystemMemorySize : 72800
NonpagedSystemMemorySize64 : 72800
PagedMemorySize64 : 73412608
PagedSystemMemorySize : 412256
PagedSystemMemorySize64 : 412256
PeakPagedMemorySize : 81453056
PeakPagedMemorySize64 : 81453056
PeakWorkingSet : 103051264
PeakWorkingSet64 : 103051264
PeakVirtualMemorySize : 335446016
PeakVirtualMemorySize64 : 335446016
PriorityBoostEnabled : True
PrivateMemorySize64 : 73412608
PrivilegedProcessorTime : 00:01:19.2812500
ProcessName : chrome
ProcessorAffinity : 15
Responding : True
SessionId : 1
StartInfo : System.Diagnostics.ProcessStartInfo
StartTime : 4/13/2012 8:20:24 PM
SynchronizingObject :
Threads : {5908, 6000, 6020, 6024...}
UserProcessorTime : 00:02:56.7656250
VirtualMemorySize64 : 316362752
EnableRaisingEvents : False
StandardInput :
StandardOutput :
StandardError :
WorkingSet64 : 71761920
Site :
Container :
PS C:\>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment