← All scripts
POWERSHELL Version 1.0.0

PC Serial Number Checker

Quickly retrieve your computer's serial number from BIOS/UEFI. Displays a clear message if no valid serial number is available. No installation required.

Source code

SHA-256: 9db8b7706674352f893360daf3520491125f1d76b69eb0da554b079885bd562d
# PC Serial Number Checker - ScriptSnatch.com

$serial = (Get-CimInstance Win32_BIOS).SerialNumber

Write-Host "`nPC SERIAL NUMBER CHECKER" -ForegroundColor Cyan
Write-Host "------------------------"

if ([string]::IsNullOrWhiteSpace($serial) -or $serial -eq "Default string") {
    Write-Host "Serial Number: Not configured in BIOS/UEFI" -ForegroundColor Yellow
}
else {
    Write-Host "Serial Number: $serial"
}
Download file

Community reviews

No published reviews yet.

Leave a review

Reviews are moderated. Your email is not displayed publicly.