Query performance counters from powershell

Posted by Frane Borozan on Server Fault See other posts from Server Fault or by Frane Borozan
Published on 2013-11-09T20:43:59Z Indexed on 2013/11/09 21:56 UTC
Read the original article Hit count: 479

I am trying this script to query performance counters in different localized windows server versions. http://www.powershellmagazine.com/2013/07/19/querying-performance-counters-from-powershell/

Everything works as in the article, well partially :-)

I am trying to access a counter ID 3906 Terminal Services Session and works well for English windows. However for example in French and German that counter doesn't exist under that ID.

I think I figured to find the exact counter under ID 1548 in french and German, but that ID in English is something completely different. Anybody seen this behavior on the performance counters?

© Server Fault or respective owner

Related posts about powershell

Related posts about windows-server