How can i get hba serial
get-vmhosthba shows serial number as unknown.
Is there a way to translate wwn into vendor/serial number ? i know it has to be converted into hex using specific bits, but dont know complete story.
thanks.
You can convert a decimal WWN into a hexadecimal WWN with the .NET convert class. E.g. if the decimal WWN is 5764963215165882199 you can convert this with:
[convert]::ToString(5764963215165882199,16)
For the method to convert the result into a vendor/serial take a look at:
How to... interpret worldwide names
Regards, Robert