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

Adding your Gravatar to Blogger

Citrix Printing Series - Auto-Creating Session Printers