dbatools is a free PowerShell module with over 300 SQL Server administration, best practice and migration commands included.

Please note that documentation and command names may be out of date while we work furiously towards 1.0


Show-DbaDatabaseList

Shows a list of databases in a GUI. Returns a simple string. Hitting cancel returns null.

Screenshot

dblist

Examples

To show a GUI list of databases and uses Windows Authentication to log into the SQL Server. Returns a string of the selected database.

 

To show a GUI list of databases and SQL credentials to log into the SQL Server. Returns a string of the selected database.

 

Get-Help

From PowerShell, execute Get-Help Show-DbaDatabaseList -Detailed for more information on this function.

Source Code

Want to see the source code? View Show-DbaDatabaseList.ps1 on GitHub
 

Related commands