Script updates

This commit is contained in:
ackitsme committed 2026-08-04 20:43:53 -07:00
1 parent 79b7ae1612
commit d8f28d124d
3 files changed
+26 -10

No files matched your search

+11 -3
View File
@@ -6,8 +6,8 @@ param (
)
# Variables
$fileVersion = "1.2.0"
$fileDate = "2024-12-13"
$fileVersion = "1.2.1"
$fileDate = "2026-07-29"
# Display Script Banner
Write-Host "--------------------------------------------------" -ForegroundColor White
@@ -102,4 +102,12 @@ foreach ($cluster in $clusters) {
$entry | Out-File -FilePath $csvFileName -Append -Encoding UTF8
}
Write-Host "`nData for cluster $clusterName has been saved to the file $csvFileName."
}
}
Write-Host "Closing connection to $vcenter... "
try {
$abyss = Disconnect-ViServer $vcenter -confirm:$false
Write-Host "Success" -ForegroundColor Green
} catch {
Write-Error "Failure"
}