Last active
April 1, 2019 17:51
-
-
Save MartinMiles/6a98d63d8adacec4e7cd5cb30ee06508 to your computer and use it in GitHub Desktop.
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
Invoke-Sqlcmd -ServerInstance "." ` | |
-Username "sa" ` | |
-Password "SA_PASSWORD" ` | |
-Query "SELECT GETDATE() AS TimeOfQuery" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment