SOLVED: How To Query a Surface 4 (or 3) Serial Number From PowerShell WMI
If you have a Microsoft Surface 3 or 4 (and likely 2 or any other computer with the Serial Number stored in the UEFI BIOS), you can determine the BIOS Version and Serial Number through a simple command line:
Launch a POWERSHELL as an Administrator
Enter the following two commands in order: $query = “Select * from Win32_Bios” Get-WmiObject -Query $query
View Comments
You can just use
get-wmiobject win32_bios
Unless you're going to reuse the query multiple times, it makes zero sense to use the above..
Thanks for this
Although this can be shortened to one line
Get-WmiObject -Query “Select * from Win32_Bios”