Skip to content

Instantly share code, notes, and snippets.

@notesbytom
Created October 3, 2018 17:22
Show Gist options
  • Save notesbytom/97c91a894cc238bf84d76258466236c8 to your computer and use it in GitHub Desktop.
Save notesbytom/97c91a894cc238bf84d76258466236c8 to your computer and use it in GitHub Desktop.
List ODBC Drivers on Windows 7 / Server 2008 with PowerShell
# List Native Architecture Drivers Installed (64-bit if Windows is x64)
Get-Item 'HKLM:\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers'
# List 32-Bit Drivers Installed on 64-bit Windows (not applicable to 32-bit Windows)
Get-Item 'HKLM:\software\Wow6432Node\ODBC\ODBCINST.INI\ODBC Drivers'
# Alternatively use Get-ItemProperty
# Windows 8, Server 2012 and newer have Get-OdbcDriver cmdlet available (easier to use)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment