From b58856bca1c1a96e06758093f9765bf9132b12b3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 9 Nov 2024 19:23:17 -0600 Subject: [PATCH] Update vCenter-SSL.ps1 --- inc/vCenter-SSL.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }