Created
August 19, 2015 15:28
-
-
Save realeroberto/c8be76cb2567cce64e93 to your computer and use it in GitHub Desktop.
Get UUIDs for every host known to a vSphere vCenter Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# after proper connection... | |
Get-VMHost | Select-Object Name, @{Name="UUID"; Expression={($_ | Get-View).hardware.systeminfo.uuid}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment