PS Core | Disconnect VI Session
Steps to Disconnect VI Session with PowerCLI on PowerShell Core Login to vCenter with valid Username & Password #PowerCLI – PowerShell Core on Windows 10 #First Time Only Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false Set-PowerCLIConfiguration -ParticipateInCeip $true #Import VMware Module Import-Module VMware.VimAutomation.Core #Connect to vCenter $VC = “10.3.3.15” $Username = “administrator@vsphere.local” $PAssword = “P@ssw0rd01” Connect-VIServer -Server $VC …