From 56826dcfb375a61d5c1091333f4bfb7d4ece617b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 26 Jan 2024 17:13:46 -0600 Subject: [PATCH] Update get-snapshots.ps1 --- esxi-scripts/get-snapshots.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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