Getting Hardware UUID: Difference between revisions
From Leo's Notes
This page was last edited on 6 December 2013, at 18:14.
m Leo moved page Getting Hardware UUID on VMware ESXi to Getting Hardware UUID: Going to add more than just ESXi |
No edit summary |
||
| Line 1: | Line 1: | ||
== Windows == | |||
You may get the UUID value from PowerShell. | |||
get-wmiobject Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID | |||
[[Category:Windows]] | |||
== Linux / FreeBSD == | |||
Use the dmidecode utility to get the UUID | |||
dmidecode | grep -i uuid | |||
You may need to install dmidecode since it usually isn't bundled with the base OS. On FreeBSD, it's available in ports at <code>/usr/ports/sysutils/dmidecode</code>. | |||
[[Category:Linux]] | |||
[[Category:FreeBSD]] | |||
== VMWare ESXi == | |||
To get the UUID of the physical machine that your ESXi server is running on, login via SSH and run: | To get the UUID of the physical machine that your ESXi server is running on, login via SSH and run: | ||
| Line 6: | Line 27: | ||
|----System UUID..............................................5178962d-2fcf-df50-536d-000423d9985a | |----System UUID..............................................5178962d-2fcf-df50-536d-000423d9985a | ||
[[Category:VMWare ESXi]] | [[Category:VMWare ESXi]] | ||
Revision as of 18:14, 6 December 2013
Windows
You may get the UUID value from PowerShell.
get-wmiobject Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID
Linux / FreeBSD
Use the dmidecode utility to get the UUID
dmidecode | grep -i uuid
You may need to install dmidecode since it usually isn't bundled with the base OS. On FreeBSD, it's available in ports at /usr/ports/sysutils/dmidecode.
VMWare ESXi
To get the UUID of the physical machine that your ESXi server is running on, login via SSH and run:
esxcfg-info |grep -i uuid
You will see a bunch of UUIDs, most of which pertain to disks/volumes. What you are looking for is:
|----System UUID..............................................5178962d-2fcf-df50-536d-000423d9985a