tags:

views:

20

answers:

1

Hi,

Does anyone if the command(s) to look at performance counters via Powershell uses COM?

Thanks

A: 

From a bit of spelunking with .NET Reflector is appears the Get-Counter command is using the Performance Data Helper API via pdh.dll which doesn't appear to be COM-based. It appears to me like a C-style WINAPI.

Keith Hill