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

Popular posts from this blog

gPLink and gPOptions

PSLoggedOn Getting Started on Windows Server 2008 R2