Update get-snapshots.ps1

This commit is contained in:
2024-01-26 17:13:46 -06:00
parent 5c0f1e7096
commit 56826dcfb3

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env pwsh
. /opt/idssys/powerwall/settings.ps1
Write-Progress -Activity "Connecting to vCenter ["$VCENTERHOST"] ..." -PercentComplete 20
. /opt/idssys/powerwall/settings.ps1
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
Write-Progress -Activity "Connected! Gathering all VM Snapshots ..." -PercentComplete 80