Resolve SGU-DC02 and SI short names from Sala Inmersiva
This commit is contained in:
1 parent
0dd4c4d629
commit
b9756ad3b2
4 files changed
+129
No files matched your search
@@ -66,4 +66,7 @@ Move-Item -LiteralPath "$ManifestPath.next" -Destination $ManifestPath -Force
|
||||
[pscustomobject]@{ Time = (Get-Date).ToString('o'); Records = $results } |
|
||||
ConvertTo-Json -Depth 5 | Set-Content -LiteralPath (Join-Path (Split-Path $ManifestPath) 'last-result.json') -Encoding UTF8
|
||||
$results
|
||||
# When installed, also preserve bare-name answers for workgroup clients on Sala.
|
||||
$shortNameSync = Join-Path $PSScriptRoot 'Sync-SguSalaShortNames.ps1'
|
||||
if (Test-Path -LiteralPath $shortNameSync) { & $shortNameSync -ManifestPath $ManifestPath }
|
||||
if ($failed) { throw 'One or more Sala DNS records could not be synchronized. See last-result.json.' }
|
||||
Reference in new issue
Block a user