Script updates
This commit is contained in:
1 parent
79b7ae1612
commit
d8f28d124d
3 files changed
+26
-10
No files matched your search
@@ -28,8 +28,8 @@ function GetFolderFromPath($folder) {
|
||||
}
|
||||
|
||||
# Variables
|
||||
$fileVersion = "1.2.0"
|
||||
$fileDate = "2026-06-03"
|
||||
$fileVersion = "1.2.1"
|
||||
$fileDate = "2026-07-29"
|
||||
|
||||
# Display Script Banner
|
||||
Write-Host "--------------------------------------------------" -ForegroundColor White
|
||||
@@ -672,4 +672,12 @@ sudo /etc/init.d/network restart
|
||||
Write-Host "Message: $($_.Exception.Message)" -ForegroundColor yellow
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host "Closing connection to $vcenter... "
|
||||
try {
|
||||
$abyss = Disconnect-ViServer $vcenter -confirm:$false
|
||||
Write-Host "Success" -ForegroundColor Green
|
||||
} catch {
|
||||
Write-Error "Failure"
|
||||
}
|
||||
Reference in new issue
Block a user