Update get-snapshots.ps1

This commit is contained in:
2024-01-26 17:13:53 -06:00
parent 56826dcfb3
commit 60c0fa6345

View File

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