Windows Server® 2012 Unleashed
by Rand Morimoto, Michael Noel, Guy Yardeni, Omar Droubi, Andrew Abbate, Chris Amaris
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access