Script updates
This commit is contained in:
1 parent
79b7ae1612
commit
d8f28d124d
3 files changed
+26
-10
No files matched your search
@@ -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"
|
||||
}
|
||||
Reference in new issue
Block a user