PowerShell Logo Small

Get-OdbcPerfCounter



This is the built-in help made by Microsoft for the command 'Get-OdbcPerfCounter', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets connection pooling Performance Monitor counters.

SYNTAX


Get-OdbcPerfCounter [[-Platform] <String>] [-AsJob] [-CimSession <CimSession>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-OdbcPerfCounter cmdlet gets the Open Database Connectivity (ODBC) connection pooling performance monitor counters.


For more information about ODBC and performance counters, see Microsoft Open Database Connectivity (ODBC) (http://msdn.microsoft.com/en-us/library/ms710252.aspx) and ODBC
Performance Counters (http://msdn.microsoft.com/en-us/library/windows/desktop/ms709288.aspx) on the Microsoft Developer Network.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287607
Disable-OdbcPerfCounter
Enable-OdbcPerfCounter
N:Wdac



REMARKS

<

Examples


Example 1: Get ODBC Performance Counter setting on a 32-bit platform

PS C:\> Get-OdbcPerfCounter -Platform "32-bit"



This command gets the ODBC Performance Counter setting on a 32-bit platform.




Example 2: Get ODBC Performance Counter setting on both platforms

PS C:\> Get-OdbcPerfCounter



This command gets the ODBC Performance Counter setting on both 32-bit and 64-bit platforms.




Example 3: Store ODBC Performance Counter setting for a 32-bit platform

PS C:\> $perfCounter = Get-OdbcPerfCounter -Platform "32-bit"



This command gets the ODBC Performance Counter setting on a 32-bit platform, and then stores the result in the $perfCounter variable.