Get local computer UUID/GUID using Windows Powershell
Use the following syntax to get the local computer's UUID/GUID using Windows Powershell:
get-wmiobject Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID
Add -computername after the WMI class to find a remote computer's UUID, example:
get-wmiobject Win32_ComputerSystemProduct -computername RANTPC | Select-Object -ExpandProperty UUID
get-wmiobject Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID
Add -computername
get-wmiobject Win32_ComputerSystemProduct -computername RANTPC | Select-Object -ExpandProperty UUID