diff --git a/esxi-scripts/get-snapshots.ps1 b/esxi-scripts/get-snapshots.ps1 index 860910f9..eba0a2c1 100755 --- a/esxi-scripts/get-snapshots.ps1 +++ b/esxi-scripts/get-snapshots.ps1 @@ -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