Examples

Get-Process *

What it does: This lists all running processes on a local computer. This is a quick snapshot of running processes that can easily be used on a remote computer as well.

Get-Process explorer.exe | get-member

What it does: This lists all the properties of the explorer.exe process. Listing the properties of an object provides detailed information about the component as well as identifying further operations that can be performed.

Get-Process * | ft name, workingset, basepriority, starttime, threads, cpu,processoraffinity –auto

What it does: This returns a set of useful properties for all running processes on the local computer. Formatting the output using commands such as Format-Table, or ft, makes comparing relevant data and ...

Get Windows Server® 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.