diff --git a/inc/vCenter-SSL.ps1 b/inc/vCenter-SSL.ps1 index cb6c52b7..1ebed209 100644 --- a/inc/vCenter-SSL.ps1 +++ b/inc/vCenter-SSL.ps1 @@ -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 $_ }