PowerCLI C:\Program Files (x86)\VMware\Infrastructure\
vSphere PowerCLI> Get-VMHo
st | Select Name,ConnectionState
Get-VMHost : 5/2/2013 3:44:39 PM Get-VMHost Server <ESXI -host >is no
t connected.
At line:1 char:11
+ Get-VMHost <<<< | Select Name,ConnectionState
+ CategoryInfo : InvalidArgument: (:) [Get-VMHost], ViServerConne
ctionException
+ FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_TryVerifyIsConn
ected_NotConnected,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVMHost
st | Select Name,ConnectionState
Get-VMHost : 5/2/2013 3:44:39 PM Get-VMHost Server <ESXI -host >is no
t connected.
At line:1 char:11
+ Get-VMHost <<<< | Select Name,ConnectionState
+ CategoryInfo : InvalidArgument: (:) [Get-VMHost], ViServerConne
ctionException
+ FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_TryVerifyIsConn
ected_NotConnected,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVMHost
Name ConnectionState
---- ---------------
ESXI IP Connected
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Add-VMHo
st -Name <ESXI IP> -User root -Password <passwd>
Add-VMHost : 5/2/2013 3:55:40 PM Add-VMHost Value cannot be found for
the mandatory parameter Location
At line:1 char:11
+ Add-VMHost <<<<
+ CategoryInfo : NotSpecified: (:) [Add-VMHost], VimException
+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomatio
n.ViCore.Cmdlets.Commands.AddVMHost
st -Name <ESXI IP> -User root -Password <passwd>
Add-VMHost : 5/2/2013 3:55:40 PM Add-VMHost Value cannot be found for
the mandatory parameter Location
At line:1 char:11
+ Add-VMHost <<<<
+ CategoryInfo : NotSpecified: (:) [Add-VMHost], VimException
+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomatio
n.ViCore.Cmdlets.Commands.AddVMHost