diff --git a/inc/vCenter-SSL.ps1 b/inc/vCenter-SSL.ps1 index 641990d1..d158bd5a 100644 --- a/inc/vCenter-SSL.ps1 +++ b/inc/vCenter-SSL.ps1 @@ -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 }