Reset performance counter from command line
问题 I want to execute a command from command line to reset given performance counter to 0. I could write a simple "3" lines console app to do that, but wondering if VS or Windows or Windows SDK already comes with such utility. I did not find such option in either typeperf or logman. Context: Windows 7 x64 (with Admin access) Background: I use a performance counter to debug/develop/stress-test a web service. Web service increments a performance counter every time it is hit. So the scenario is to