PowerTip: Use PowerShell to Document DSN Names

Summary: Learn how to easily document DSN names by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find what DSN names are defined on my system?

Hey, Scripting Guy! Answer On your computer running Windows 8.1, use the Get-OdbcDsn function.

Comments (2)

  1. tommymaynard says:

    You will only find this cmdlet and the Wdac module on Windows 8, 8.1, Server 2012, and Server 2012 R2.

  2. Sputnik4 says:

    This doesn’t seem to work on XP.

Skip to main content