Wednesday, 3 December 2025

windows 11 powershell command to check model number and serial number of computer



For model number 

Get-CimInstance -ClassName Win32_ComputerSystem | Select-Object Model


For serial number 


the Win32_ComputerSystem class does not contain a property named Serial.
To obtain the serial number, you should use the Win32_BIOS class instead

Get-CimInstance Win32_BIOS | Select-Object SerialNumber




No comments: