tpdt-283
Corrected had coded path from testing
This commit is contained in:
@@ -540,7 +540,7 @@ if($true -eq $instanceReachable){
|
|||||||
exit 42102
|
exit 42102
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$query=Get-Content -Path C:\Users\ua208700\Documents\21_update_point_of_sale_centrale.sql
|
$query=Get-Content -Path .\21_update_point_of_sale_centrale.sql
|
||||||
$query = $query.Replace("`$fqdn", $hostname)
|
$query = $query.Replace("`$fqdn", $hostname)
|
||||||
$query = $query.Replace("`$mac", $macs[0])
|
$query = $query.Replace("`$mac", $macs[0])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user