Created
October 3, 2018 17:22
-
-
Save notesbytom/97c91a894cc238bf84d76258466236c8 to your computer and use it in GitHub Desktop.
List ODBC Drivers on Windows 7 / Server 2008 with PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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