Here is a one liners for the same
Get-VM MyVM | %{(Get-View $_.Id).config.uuid}
Also some blog here.
http://stealthpuppy.com/retrieving-a-vms-uuid-from-vsphere/
vm uuid | VMware and Powershell
Thanks i need to fetch single Virtual machine uuid
This one liner will work for fetching out the vm uuid. place vm display name in place of "MyVM" .
Get-VM MyVM | %{(Get-View $_.Id).config.uuid}
Thanks its worked
Would be great if you mark this Answer 'correct' or 'helpful' so other can be benefitted too.