Related PowerShell Functionality

As discussed, Resource Monitor provides lists and graphical representations of various counters. Here are some ways to go about similar tasks with PowerShell:

Get-Counter

The Get-Counter cmdlet returns performance counter data from a specified computer (local or remote).

Description

The cmdlet returns real-time performance counter data directly from the operating system’s performance monitoring components. It can be used to get performance data from any computer as long as access and credentials are available. The command can specify the sample interval and can therefore be used to create a rudimentary monitoring tool for troubleshooting purposes.

Without parameters, the Get-Counter cmdlet returns counter data ...

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.