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:

  1. Launch a POWERSHELL as an Administrator
  2. Enter the following two commands in order:
    $query = “Select * from Win32_Bios”
    Get-WmiObject -Query $query
  3. Have a nice day

 

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”

Published by
Ian Matthews

This website uses cookies.