Update vCenter-SSL.ps1

This commit is contained in:
2024-11-09 19:23:17 -06:00
parent 450459dfb2
commit b58856bca1

View File

@@ -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
}