I can successfully connect to vCenter 5.1, vCenter 4.1, and ESX 4.1 hosts with PowerCLI 5.1 release 1, but when I try to connect to ESXi 5.1 hosts using the same credentials I get the error:
Connect-VIServer : 5/1/2013 3:04:59 PM Connect-VIServer Cannot complete login due to an incorrect user name or password.
At line:1 char:1
+ Connect-VIServer <servername>
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-VIServer], InvalidLog
in
+ FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_Reconnect_Exception,VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVIServer
Is there a special setting that I need to enable on the ESXi 5.1 servers to allow PowerCLI connections?