update
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
#!/usr/bin/env pwsh
|
#!/usr/bin/env pwsh
|
||||||
|
|
||||||
. /opt/idssys/powerwall/settings.ps1
|
|
||||||
|
|
||||||
Write-Progress -Activity "Connecting to vCenter..." -Completed
|
Write-Progress -Activity "Connecting to vCenter..." -Completed
|
||||||
|
|
||||||
|
. /opt/idssys/powerwall/settings.ps1
|
||||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||||
|
|
||||||
Write-Progress -Activity "Gathering Snapshots..." -Completed
|
Write-Progress -Activity "Gathering Snapshots..." -Completed
|
||||||
|
|||||||
@@ -717,7 +717,7 @@ LOGROTATE(){
|
|||||||
GET_SNAPSHOTS(){
|
GET_SNAPSHOTS(){
|
||||||
echo -e "\n${idsCL[Yellow]}LISTING ALL VM SNAPHOTS IN VCENTER ${idsCL[Default]}(minus offsite replicas)"
|
echo -e "\n${idsCL[Yellow]}LISTING ALL VM SNAPHOTS IN VCENTER ${idsCL[Default]}(minus offsite replicas)"
|
||||||
DIVIDER . lightGreen 70
|
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`
|
# snapshots=`${PW_FOLDER}/esxi-scripts/get-snapshots.ps1`
|
||||||
# echo -en "\033[2K\e[0K\r"
|
# echo -en "\033[2K\e[0K\r"
|
||||||
# echo -e "${snapshots}"
|
# echo -e "${snapshots}"
|
||||||
|
|||||||
Reference in New Issue
Block a user