Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 219257

Re: How can i find software vib list using powercli for all the hosts and export it to csv

$
0
0

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..............................


Viewing all articles
Browse latest Browse all 219257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>