Skip to content

Instantly share code, notes, and snippets.

@Spartan-196
Last active November 1, 2023 12:59
Show Gist options
  • Save Spartan-196/0736610eff91140e98fdaab5c2f0fd5a to your computer and use it in GitHub Desktop.
Save Spartan-196/0736610eff91140e98fdaab5c2f0fd5a to your computer and use it in GitHub Desktop.
Find GUID of PC in windows

From Powershell

Get-WmiObject Win32_ComputerSystemProduct | Select UUID

From command prompt

wmic csproduct get uuid

This will out put the PC's UUID which is what SCCM reads as BIOS GUID.

@Brittank88
Copy link

Brittank88 commented Nov 1, 2023

For those that come across this - the new Powershell command is:

Get-CimInstance -ClassName Win32_ComputerSystemProduct | Select UUID

In fact, you can omit -ClassName:

Get-CimInstance Win32_ComputerSystemProduct | Select UUID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment