Entries in the ‘perfmon’ Category:

Accessing performance counters using PowerShell

Using Get-Counter cmdlet in PowerShell V2, you can get performance counter values. For instance, if you want the current free memory statistics, use this command. Get-Counter ‘\Memory\Available MBytes’ If you want to query the counter continously, use below command. Get-Counter ‘\Memory\Available MBytes’ -Continous -SampleInterval 5 Here sampleinterval means how frequently you want to query the performance [...]

Tags:

Leave a Comment

Unable to start Counter logs in Perfmon

Sometimes you might see error like below while starting “Counter logs” tasks from perfmon and additionally you will see Event ID 2003 with source “Sysmonlog” in Application Event viewer and Event ID 7024 with source “Service Control Manager” in System event viewer.   The test1 log or alert has not started. Refresh the log or [...]

Comments (1)