PowerShell Logo Small

Get-OdbcPerfCounter



This is the built-in help made by Microsoft for the command 'Get-OdbcPerfCounter', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

Retrieves the ODBC connection pooling Performance Monitor counters.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


For more information about ODBC, data source names, and drivers, see Microsoft Open Database Connectivity
(ODBC)http://msdn.microsoft.com/en-us/library/ms710252.aspx, Data Sourceshttp://msdn.microsoft.com/en-us/library/ms711688.aspx, and
Drivershttp://msdn.microsoft.com/en-us/library/ms715383.aspx.



<

RELATED LINKS

Disable-OdbcPerfCounter
Enable-OdbcPerfCounter
N:Wdac



REMARKS

<

Examples




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



Obtain the ODBC Performance Counter setting on 32-bit platform:






PS C:\> Get-OdbcPerfCounter



Obtain the ODBC Performance Counter setting on both 32-bit and 64-bit platform:






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



Obtain the ODBC Performance Counter setting on 32-bit platform and stores the result into a PowerShell variable: