Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to test your connection string using Powershell
$conn = New-Object System.Data.SqlClient.SqlConnection
$conn.ConnectionString = "Server=(local);Database=Sample;Integrated Security=True;"
$conn.Open()
$conn.Close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment