Update vCenter-SSL.ps1
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env pwsh
|
||||
. /opt/idssys/nodemgmt/conf/powerwall/settings.ps1
|
||||
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force -Confirm:$false
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force -Confirm:$false
|
||||
|
||||
function Show-Failure {
|
||||
$global:helpme = $body
|
||||
@@ -42,7 +42,7 @@ if (Get-Module -ListAvailable -Name Posh-ACME) {
|
||||
else {
|
||||
Write-Host "Posh-ACME Module Not Found, Attempting to Install" -ForegroundColor Yellow
|
||||
Write-Host "Restart of this Script is Required!" -ForegroundColor Yellow
|
||||
Install-Module -Name Posh-ACME -Scope CurrentUser -Force -Confirm:$false
|
||||
Install-Module -Name Posh-ACME -Force -Confirm:$false
|
||||
Return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user