We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43d915a + d5a8a7f commit 437af91Copy full SHA for 437af91
VERSION
@@ -1 +1 @@
1
-1.0.2
+1.1.0
utils.ps1
@@ -31,7 +31,9 @@ function ValidateServerNameInput {
31
$sql_instances = @($sql_instances | Where-Object { $_ -ne "MSSQLSERVER" })
32
if ($sql_instances) {
33
MessageError "Available sql named instances: [$($sql_instances -join ', ')]"
34
- MessageError "Example: .\odbcad.ps1 -server_name .\$($sql_instances[-1])"
+ $invoker_script_name = ($MyInvocation.PSCommandPath -split "\\")[-1]
35
+ MessageError "Example: .\$invoker_script_name -server_name "".\$($sql_instances[-1])"""
36
+ exit 1
37
}
38
return $false
39
0 commit comments