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

ESXi 5.0 U1 HBA Details: Power CLI

$
0
0

Hi All

 

I'm trying to extract following HBA information from some 250 hosts in multiple clusters:

- HBA Type

- Firmware version

- Driver version

- BIOS version

 

I know that all this informatio is given using via "cat /proc/scsi/qla2xxx/x" command but I'm looking for a way to script this and have it exported into a csv file with headings similar to cluster, host name, HBA type, HBA firmware, HBA driver, BIOS.

 

I've come across couple of scripts that some very smart people here have written, ie "HBA Information: PowerCLI" and "Get HBA hardware details" however:

1. I'm lead to believe that these scripts work on ESX hosts only and not on ESXi

2. When executing the script I get following error message:

          Invoke-Expression : The '<' operator is reserved for future use.
          At C:\data\Scripts\HBA\hba_driver_firmware.ps1:15 char:33
          +         $msg = Invoke-Expression <<<<  -command $command
              + CategoryInfo          : ParserError: (<:OperatorToken) [Invoke-Expression], ParseException
              + FullyQualifiedErrorId : RedirectionNotSupported,Microsoft.PowerShell.Commands.InvokeExpressionCommand

 

Can anybody help with this?  I really don't file like obtaining this information manually from some 250 hosts and sorting it manually in the spread-sheet.

 

Any help would be much appreciated and obvioously rewarded with points. 


Viewing all articles
Browse latest Browse all 244595

Trending Articles



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