Practice Exams for Windows

Practice Exams for Windows

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

6 comments:

  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.

    ReplyDelete
  2. This is quite useful, thank you!

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

    ReplyDelete
  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

    ReplyDelete