update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
### NOT WORKING ###
|
||||
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Write-Progress -Activity "Connecting to vCenter [$VCENTERHOST] ..." -PercentComplete 20
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Force -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Force -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false | Out-Null
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Force -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Write-Progress -Activity "Connecting to vCenter [$VCENTERHOST] ..." -PercentComplete 20
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
# Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false | Out-Null
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
# Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false | Out-Null
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/powerwall/settings.ps1
|
||||
. /opt/idssys/powerwall/conf/settings.ps1
|
||||
|
||||
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user