update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user