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

Re: Looking for a PowerCLI script to get the ESXi hosts all the NIC driver and firmware version

$
0
0

it is throwing an error here -

 

Get-VMHost-Name$esxNames-PipelineVariableesx|

 

Get-VMHost : Cannot validate argument on parameter 'Name'. The argument is null or empty. Provide an argument that is

not null or empty, and then try the command again.

 

At C:\MVstuff\Network-DriverFW-Check\Network-Driver-FW-version-Check.ps1:4 <file:///C:\MVstuff\Network-DriverFW-Check\Network-Driver-FW-version-Check.ps1:4>  char:18

+ Get-VMHost -Name $esxNames -PipelineVariable esx |

 

+                  ~~~~~~~~~

    + CategoryInfo          : InvalidData: (:) [Get-VMHost], ParameterBindingValidationException

    + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVMHost  


Viewing all articles
Browse latest Browse all 231338

Trending Articles



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