Monday, 31 August 2009

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


  1. (get-wmiobject Win32_ComputerSystemProduct).UUID is working in a Windows 7 x64 environment while Select-object is not in my case.

    Thank's for information.

  2. This is quite useful, thank you!

  3. This comment has been removed by a blog administrator.

  4. Each of us has been faced with the problem of searching for information more than once. Irregardless of the data source we are using (Internet, file system on our hard drive, data base or a global in...Thesis writing

  5. So, how can you maintain your computer, and make it run fast yet safe at the same time. Well, there are a few different ways you can speed up your computer to start with, without spending any money. gtx 970 vs 1060 6gb

  6. While the computer user is looking for expert assistance from the IT support company, both of them need to share the similar Internet connectivity or the network.