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