Update vCenter-SSL.ps1

This commit is contained in:
2025-11-19 22:38:03 -06:00
parent 59d8ff7be4
commit 7a73bf2259

View File

@@ -66,7 +66,7 @@ try {
Install-Module VCF.PowerCLI -Force -Scope AllUsers -AllowClobber
}
Import-Module VCF.PowerCLI -ErrorAction Stop
Import-Module VCF.PowerCLI -ErrorAction Stop 3>$null
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false `
-ParticipateInCEIP:$false -DisplayDeprecationWarnings:$false | Out-Null
@@ -77,7 +77,7 @@ try {
if (-not (Get-Module -ListAvailable -Name Posh-ACME)) {
Install-Module Posh-ACME -Force -Scope AllUsers
}
Import-Module Posh-ACME -ErrorAction Stop
Import-Module Posh-ACME -ErrorAction Stop 3>$null
Write-Log INFO "Posh-ACME loaded."
} catch { Show-Failure $_ }