After executing the scrpit i am getting the following error.
Get-EsxCli : 01-10-2014 PM 03:03:26 Get-EsxCli Message: An error occurred while communicating with the remote host.;
InnerText:
At line:9 char:25
+ $esxcli = $VMHost | Get-EsxCli
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-EsxCli], HostCommunication
+ FullyQualifiedErrorId : Client20_DynamicTypeManagerServiceImpl_GetMoInstances_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Get
EsxCli
You cannot call a method on a null-valued expression.
At line:11 char:5
+ $List += $esxcli.software.vib.list() | Select-Object @{N="VMHostName"; E={$V ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Get-EsxCli : 01-10-2014 PM 03:03:48 Get-EsxCli Message: An error occurred while communicating with the remote host.;
InnerText:
At line:9 char:25
+ $esxcli = $VMHost | Get-EsxCli
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-EsxCli], HostCommunication
+ FullyQualifiedErrorId : Client20_DynamicTypeManagerServiceImpl_GetMoInstances_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Get
EsxCli
You cannot call a method on a null-valued expression.
At line:11 char:5
+ $List += $esxcli.software.vib.list() | Select-Object @{N="VMHostName"; E={$V ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Get-EsxCli : 01-10-2014 PM 03:03:51 Get-EsxCli Message: An error occurred while communicating with the remote host.;
InnerText:
At line:9 char:25
+ $esxcli = $VMHost | Get-EsxCli
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-EsxCli], HostCommunication
+ FullyQualifiedErrorId : Client20_DynamicTypeManagerServiceImpl_GetMoInstances_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Get
EsxCli
You cannot call a method on a null-valued expression.
At line:11 char:5
+ $List += $esxcli.software.vib.list() | Select-Object @{N="VMHostName"; E={$V ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Get-EsxCli : 01-10-2014 PM 03:04:13 Get-EsxCli Message: An error occurred while communicating with the remote host.;
InnerText:
At line:9 char:25
+ $esxcli = $VMHost | Get-EsxCli
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-EsxCli], HostCommunication
+ FullyQualifiedErrorId : Client20_DynamicTypeManagerServiceImpl_GetMoInstances_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Get
EsxCli
You cannot call a method on a null-valued expression.
At line:11 char:5
+ $List += $esxcli.software.vib.list() | Select-Object @{N="VMHostName"; E={$V ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Get-EsxCli : 01-10-2014 PM 03:04:35 Get-EsxCli Message: An error occurred while communicating with the remote host.;
InnerText:
At line:9 char:25
+ $esxcli = $VMHost | Get-EsxCli
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-EsxCli], HostCommunication
+ FullyQualifiedErrorId : Client20_DynamicTypeManagerServiceImpl_GetMoInstances_ViError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Get
EsxCli
You cannot call a method on a null-valued expression.
At line:11 char:5
+ $List += $esxcli.software.vib.list() | Select-Object @{N="VMHostName"; E={$V ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull..............................