Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Enable and disable ODBC performance counter settings with PowerShell

Summary: Learn how to enable and disable a collection of ODBC performance counter settings for troubleshooting. (image)  How can I use Windows PowerShell to enable the ODBC performance counters, run commands in a script, and then disable the counters? (image)  You can store a returned object for later use when you enable the performance ...

PowerTip: Enable PerfMon counters for ODBC connection pooling with PowerShell

Summary: Learn how to use Windows PowerShell to enable Windows Performance Monitor counters for ODBC connection pooling. (image)  How can I use Windows PowerShell to enable Windows Performance Monitor (PerfMon) counters so I can troubleshoot Open Database Connectivity (ODBC) connection pooling? (image)  Use the Enable-ODBCPerfCountger ...