February 27th, 2016

PowerTip: Enable PerfMon counters for ODBC connection pooling with PowerShell

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.