PowerTip: Enable PerfMon counters for ODBC connection pooling with PowerShell

Doctor Scripto

Dr Scripto

Summary: Learn how to use Windows PowerShell to enable Windows Performance Monitor counters for ODBC connection pooling.

Hey, Scripting Guy! Question How can I use Windows PowerShell to enable Windows Performance Monitor (PerfMon) counters so I can troubleshoot Open Database Connectivity (ODBC) connection pooling?

Hey, Scripting Guy! Answer Use the Enable-ODBCPerfCountger cmdlet and specify the platform (32 bit or all). Here is an example:

Enable-OdbcPerfCounter -Platform 32-bit

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment