Info o HBA kartách

Potrebujete porovnať informácie z HBA kariet s compatibility listom vendora? Skúste toto…

$Servers = Import-csv -Path "C:\Servers\WinServersOnSAN.txt"

$WWN = @{Name="WWN";Expression = {(($_.NodeWWN) | ForEach-Object {"{0:x}" -f $_}) -join ":"}} 

Get-WmiObject -class MSFC_FCAdapterHBAAttributes -computername $Servers.Name -namespace "root\WMI" | Select-Object __SERVER,Active,DriverName,DriverVersion,FirmwareVersion,ModelDescription,OptionROMVersion,$WWN | Export-Csv C:\HBAinfo.csv

Author: Martin

Infrastructure engineer | virtualization & cloud enthusiast | vSphere specialist | blogger | VMware vExpert 2017, 2018, 2019, 2020 | VMCE | Slovak VMUG Leader |  user group ambassador for kmug.sk | husband&father

Leave a Reply

Your email address will not be published. Required fields are marked *