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.
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:
For the method to convert the result into a vendor/serial take a look at: