Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-Counter

Get-Counter - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-Counter

Short description
Gets performance counter data from local and remote computers.

Syntax


Description
The Get-Counter cmdlet gets live, real-time performance counter data directly from the performance monitoring instrumen
tation in Windows.  You can use it to get performance data from the local or remote computers at the sample interval th
at you specify.


Without parameters, a "Get-Counter" command gets counter data for a set of system counters.


You can use the parameters of Get-Counter to specify one or more computers, to list the performance counter sets and th
e counters that they contain, and to set the sample size and interval.