From 97f11a0f148fb0c62af49479cb1476b8b7ae0f11 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 26 Jan 2024 16:54:26 -0600 Subject: [PATCH] update --- esxi-scripts/get-snapshots.ps1 | 3 +-- powerwall.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/esxi-scripts/get-snapshots.ps1 b/esxi-scripts/get-snapshots.ps1 index e8e06104..0a88b258 100755 --- a/esxi-scripts/get-snapshots.ps1 +++ b/esxi-scripts/get-snapshots.ps1 @@ -1,9 +1,8 @@ #!/usr/bin/env pwsh -. /opt/idssys/powerwall/settings.ps1 - Write-Progress -Activity "Connecting to vCenter..." -Completed +. /opt/idssys/powerwall/settings.ps1 Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null Write-Progress -Activity "Gathering Snapshots..." -Completed diff --git a/powerwall.sh b/powerwall.sh index 13889617..ad324975 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -717,7 +717,7 @@ LOGROTATE(){ GET_SNAPSHOTS(){ echo -e "\n${idsCL[Yellow]}LISTING ALL VM SNAPHOTS IN VCENTER ${idsCL[Default]}(minus offsite replicas)" DIVIDER . lightGreen 70 - echo -en "${idsCL[LightCyan]}Connecting to vCenter ...${idsCL[Default]}" + # echo -en "${idsCL[LightCyan]}Connecting to vCenter ...${idsCL[Default]}" # snapshots=`${PW_FOLDER}/esxi-scripts/get-snapshots.ps1` # echo -en "\033[2K\e[0K\r" # echo -e "${snapshots}"