Update get-snapshots.ps1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user