This commit is contained in:
2023-08-13 16:42:58 -05:00
parent a634d533e1
commit 0c9e2171bd
3 changed files with 174 additions and 172 deletions

View File

@@ -2,6 +2,6 @@
. /opt/idssys/powerwall/settings.ps1
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS
Connect-VIServer -Server $PW_VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS
Get-VMHost -Name $args[0] | set-vmhost -State Maintenance