update
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
|
||||
Connect-VIServer -Server 10.10.1.30 -Protocol https -User administrator@scity.vs -Password 'Dc$@1910'
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS
|
||||
|
||||
Get-VMHost -Name ids-vms7.scity.us | set-vmhost -State Maintenance
|
||||
Get-VMHost -Name $args[0] | set-vmhost -State Maintenance
|
||||
|
||||
Reference in New Issue
Block a user