Update vCenter-SSL.ps1

This commit is contained in:
2025-11-19 22:19:42 -06:00
parent ff2dedaf11
commit 197b4fa09f

View File

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