to get all running processes that have a working set greater than 20 MB
PS> get-process
| where-object {$_.WorkingSet -gt 20000000}
` -gt ` stands for 'greater than'.
` 20000000 ` is in bytes.
The pipeline operator ( | ) passes the process objects to the 'Where-Object' cmdlet, which selects only the object with a value greater than 20,000,000 bytes for the WorkingSet property.
Monday, January 19, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment