If you experience issues retrieving data from vCenter, follow these steps:
Get-PowerCLIVersion
Connect-VIServer -Server <hostname> -User <domain>\<username> -Password <password>
Get-VMHost
on Oct 22, 2018 08:33 PM - edited on Oct 22, 2019 02:59 PM by KPBussey