This scripts allows you to extract Asset Tag/Service Tag from your ESX or ESXi host, assuming this information has been configured by your hardware vendor/OEM.
Requirements:
- vCLI or vMA 4.x
- ESX(i) 4.x managed by vCenter 4.x
Download Script:
getAssetTag.pl
Sample Execution:
[vi-admin@tancredi ~]$ ./getAssetTag.pl --server himalaya.primp-industries.com --username root
himalaya.primp-industries.com AssetTag: To Be Filled By O.E.M.