This commit is contained in:
voltron committed 2024-01-26 16:38:13 -06:00
1 parent 9aa2194d94
commit 217906e639
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -7,4 +7,7 @@ Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Passwo
get-vm | get-snapshot | where {($_.vm -notlike '*_replica')} | select vm, name, description, created, sizegb
# get-vm | get-snapshot | where {($_.vm -notlike '*_replica')} | select vm, name, description, created, sizegb | ConvertTo-Json -Depth 1 -WarningAction:SilentlyContinue
write-host "\033[2K\e[0K\r" -NoNewline
write-host "Gathering Snapshots ..."
Disconnect-VIServer -Server $VCENTERHOST -Force –Confirm:$false