removed GO statements
This commit is contained in:
@@ -537,7 +537,7 @@ if($true -eq $instanceReachable){
|
||||
$query = $query.Replace("`$fqdn", $fqdn.HostName)
|
||||
$query = $query.Replace("`$alias", $alias)
|
||||
|
||||
Invoke-Sqlcmd -ServerInstance $SqlInstance -Database master -Query $query -Credential
|
||||
Invoke-Sqlcmd -ServerInstance $SqlInstance -Database master -Query $query
|
||||
Write-Output "Executed 20_update_system_site_centrale.sql"
|
||||
|
||||
##step 21: update Point_of_sale on the central
|
||||
@@ -553,6 +553,7 @@ if($true -eq $instanceReachable){
|
||||
if($macs.Count -gt 1){
|
||||
#we have several mac addresses, unable to define which one should be used in point_of_sale
|
||||
Write-Error "Several mac addresses are active, no clue which one to save in Point_of_sale"
|
||||
exit 42102
|
||||
}
|
||||
else{
|
||||
$query=Get-Content -Path .\21_update_point_of_sale_centrale.sql
|
||||
|
||||
Reference in New Issue
Block a user