A reader on a previous post asked about pulling host UUIDs, so I wipped together this script.

Usage is like this:
Get-VMHostUUID.ps1 -vmhosts ("host1","host2","host3")or
Get-VMHostUUID.ps1 -vc vcenterserver -container cluster1/folder/dc/etc

Output is something like this:
Server: server1
UUID: 12345678-90ab-cdef-1234-567890abcdef

Server: server2
UUID: 12345678-90ab-cdef-1234-567890abcdef

Server: server3
UUID: 12345678-90ab-cdef-1234-567890abcdef

****Updated on Feb 3, 2011 @ 1:15pm central time
I updated the script. The -container parameter is now optional. If left off, it pulls all hosts in the vCenter you’re connected to.