If you’re not reading Buck Woody’s blog, why not? Today he posted a helpful hint for getting performance counters directly out of PowerShell v2. I’ll add a little bit to the hint, don’t try running this on your XP boxes. It doesn’t hurt anything, but you get a helpful little message “Get-Counter : This cmdlet can only run on Vista and above.”
It actually works just fine on XP with Version 2. You only got the message in the V2 CTPs.
Hmmm. I didn’t think I was running a CTP, but it’s possible. I’ll have to check. Thanks.