Watch-PerfCounter

1.0

Watches a Windows performance counter, and executes the specified file once the specified counter threshold is crossed. You must know the name and path of the performance counter you're after. Use Get-Counter if you want to explore the syntax of performance counter paths. You may monitor performance counters on a remote machine as well. The specified Action can be any
Watches a Windows performance counter, and executes the specified file once the specified counter threshold is crossed. You must know the name and path of the performance counter you're after. Use Get-Counter if you want to explore the syntax of performance counter paths. You may monitor performance counters on a remote machine as well. The specified Action can be any executable file, an exe, a vbs, a bat file,etc. You can also specify the PollFrequency, in seconds. Default is 5. Use the Verbose switch for extra detail.


Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Watch-PerfCounter

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Ryan Ries

Functions

Watch-PerfCounter

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0 (current version) 518 5/19/2016