我的电脑里有什么?
查看处理器、内存、显卡、序列号、BIOS 等信息。请选择一个按钮:从浏览器快速查看,或用一个在您电脑上运行的小程序查看完整信息。
🔒 您的隐私
- 我们不保存任何关于您或您电脑的信息。本页面和程序不会向我们或任何其他人发送任何内容。
- 快速信息在您自己的浏览器中生成,并只留在那里。
- 程序只在您的电脑上运行。它不含任何联网代码,只读取信息,不做任何更改。
- 报告留在您的电脑上:显示在屏幕上并保存为一个文本文件。是否分享由您决定。
- 完整的程序就显示在本页面上,您或您信任的人可以在运行前看清它到底做了什么。
来自您的浏览器
您的浏览器愿意告诉本页面的信息。在您的浏览器中生成,不会向我们发送任何内容。
浏览器会向所有网站隐藏序列号、BIOS、主板、确切的内存容量和硬盘信息,以免网站识别出您的电脑。要查看这些,请使用完整信息。
完整信息:序列号、BIOS、主板、内存条、硬盘
一个在您自己电脑上运行的小程序:粘贴一行命令,约 10 秒。它会显示制造商、型号和序列号,主板和 BIOS 版本,处理器,每根内存条(容量、速度、厂商),每块硬盘的型号、容量、健康状况和序列号,显卡和显示器,网络适配器,关键设置(UEFI 或传统启动、安全启动、TPM 安全芯片、虚拟化、BitLocker 或 FileVault、电源计划)以及已连接的设备。
它只读取您电脑上的信息,不向任何地方发送任何内容,也不做任何更改。(这条单行命令只从本网站获取程序本身。)完整程序显示在下方,您或您信任的人可以看清它到底做了什么。报告会显示在屏幕上,并保存为 netandsky-pc-info.txt。
在手机或平板上只能查看快速信息。请在电脑上打开本页面来运行程序。
Windows 10 / 11
最快的方法:右键点击开始按钮,选择终端(管理员)或Windows PowerShell (管理员),粘贴这一行并按回车。报告会在记事本中打开。
irm https://netandsky.com/pc.txt | iex获取下方显示的程序并运行一次或者下载后自己运行:
- 打开开始菜单,输入 PowerShell,右键点击 Windows PowerShell,选择以管理员身份运行(否则不会显示安全启动、TPM 和 BitLocker)。
- 粘贴这一行并按回车:
powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\Downloads\netandsky-pc-info.ps1"运行一次下载的程序,不更改任何 Windows 设置 - 报告会在记事本中打开,并保存在您的桌面上。
查看 Windows 程序
# netandsky-pc-info.ps1 - shows what is inside this Windows computer (netandsky.com/my-computer/)
# It only reads information from Windows on this computer. It sends nothing anywhere and changes nothing.
# The report is shown here and saved as netandsky-pc-info.txt on your Desktop.
# Some lines (Secure Boot, TPM, BitLocker) need "Run as administrator"; without it they say "needs administrator".
$ErrorActionPreference = 'SilentlyContinue'
$out = New-Object System.Collections.Generic.List[string]
function Sec($t) { $out.Add(''); $out.Add('== ' + $t + ' ' + ('=' * [Math]::Max(3, 60 - $t.Length))) }
function L($k, $v) { if ($null -ne $v -and "$v".Trim() -ne '') { $out.Add((' {0,-26} {1}' -f $k, ("$v".Trim()))) } }
function GB($b) { if ($b) { '{0:N1} GB' -f ($b / 1GB) } }
function Clean($s) { if ($s -and $s -notmatch '^(To be filled by O\.E\.M\.|Default string|System Serial Number|None|0+|Not Specified)$') { $s } else { '(not set by the maker)' } }
$admin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
$cs = Get-CimInstance Win32_ComputerSystem
$csp = Get-CimInstance Win32_ComputerSystemProduct
$os = Get-CimInstance Win32_OperatingSystem
$bios = Get-CimInstance Win32_BIOS
$bb = Get-CimInstance Win32_BaseBoard
$encl = Get-CimInstance Win32_SystemEnclosure
$out.Add('netandsky.com - what is inside this computer')
$out.Add('Made ' + (Get-Date -Format 'dd MMM yyyy HH:mm') + ' on ' + $env:COMPUTERNAME + $(if ($admin) { ' (as administrator)' } else { '' }))
Sec 'Computer'
L 'Manufacturer' $cs.Manufacturer
L 'Model' $cs.Model
L 'Product / family' ((@($csp.Version, $cs.SystemFamily) | Where-Object { $_ }) -join ' / ')
L 'Serial number' (Clean $bios.SerialNumber)
L 'Type' $(switch (@($encl.ChassisTypes)[0]) { {$_ -in 8,9,10,14,31,32} {'Laptop / notebook'} {$_ -in 3,4,5,6,7,15,16,35} {'Desktop'} 13 {'All-in-one'} 30 {'Tablet'} default {''} })
L 'System type' $cs.SystemType
Sec 'Windows'
L 'Edition' $os.Caption
L 'Version / build' ($os.Version + ' (build ' + $os.BuildNumber + '.' + (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').UBR + ')')
L 'Feature update' (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').DisplayVersion
L 'Architecture' $os.OSArchitecture
L 'Installed on' $os.InstallDate
L 'Last started' $os.LastBootUpTime
Sec 'Motherboard and BIOS'
L 'Board maker' $bb.Manufacturer
L 'Board model' $bb.Product
L 'Board version' $bb.Version
L 'Board serial' (Clean $bb.SerialNumber)
L 'BIOS maker' $bios.Manufacturer
L 'BIOS version' $bios.SMBIOSBIOSVersion
L 'BIOS date' $(if ($bios.ReleaseDate) { $bios.ReleaseDate.ToString('dd MMM yyyy') })
L 'SMBIOS version' ('' + $bios.SMBIOSMajorVersion + '.' + $bios.SMBIOSMinorVersion)
Sec 'Processor'
foreach ($p in @(Get-CimInstance Win32_Processor)) {
L 'Name' ($p.Name -replace '\s+', ' ')
L 'Maker' $p.Manufacturer
L 'Cores / threads' ('' + $p.NumberOfCores + ' cores, ' + $p.NumberOfLogicalProcessors + ' threads')
L 'Base speed' ('{0:N2} GHz' -f ($p.MaxClockSpeed / 1000))
L 'Cache' ('L2 ' + $p.L2CacheSize + ' KB, L3 ' + $p.L3CacheSize + ' KB')
L 'Socket' $p.SocketDesignation
L 'Processor ID' $p.ProcessorId
}
Sec 'Memory (RAM)'
$sticks = @(Get-CimInstance Win32_PhysicalMemory)
$arr = Get-CimInstance Win32_PhysicalMemoryArray | Select-Object -First 1
L 'Installed' ((GB (($sticks | Measure-Object Capacity -Sum).Sum)) + ' in ' + $sticks.Count + ' module(s)')
L 'Slots' $arr.MemoryDevices
if ($arr.MaxCapacityEx) { L 'Maximum supported' ('{0:N0} GB' -f ($arr.MaxCapacityEx / 1MB)) }
$memType = @{20='DDR';21='DDR2';24='DDR3';26='DDR4';30='LPDDR4';34='DDR5';35='LPDDR5'}
foreach ($m in $sticks) {
$t = $memType[[int]$m.SMBIOSMemoryType]
L ($m.DeviceLocator) ((GB $m.Capacity) + $(if ($t) { ' ' + $t } else { '' }) + ', ' + $m.ConfiguredClockSpeed + ' MT/s (rated ' + $m.Speed + '), ' + ("$($m.Manufacturer)".Trim()) + ' ' + ("$($m.PartNumber)".Trim()) + ', serial ' + $m.SerialNumber)
}
Sec 'Storage'
$pd = @(Get-PhysicalDisk | Sort-Object DeviceId)
if ($pd.Count) {
foreach ($d in $pd) {
L ('Disk ' + $d.DeviceId) ("$($d.FriendlyName)".Trim() + ', ' + (GB $d.Size) + ', ' + $d.MediaType + ' on ' + $d.BusType + ', health ' + $d.HealthStatus)
L ' serial' ("$($d.SerialNumber)".Trim())
}
} else {
foreach ($d in @(Get-CimInstance Win32_DiskDrive)) { L ($d.DeviceID) ($d.Model + ', ' + (GB $d.Size) + ', ' + $d.InterfaceType + ', serial ' + "$($d.SerialNumber)".Trim()) }
}
foreach ($v in @(Get-Volume | Where-Object { $_.DriveLetter } | Sort-Object DriveLetter)) {
L ('Drive ' + $v.DriveLetter + ':') ($v.FileSystemLabel + ' ' + $v.FileSystem + ', ' + (GB $v.SizeRemaining) + ' free of ' + (GB $v.Size))
}
Sec 'Graphics and displays'
foreach ($g in @(Get-CimInstance Win32_VideoController)) {
L 'Graphics' ($g.Name + ', driver ' + $g.DriverVersion + $(if ($g.CurrentHorizontalResolution) { ', ' + $g.CurrentHorizontalResolution + ' x ' + $g.CurrentVerticalResolution + ' at ' + $g.CurrentRefreshRate + ' Hz' } else { '' }))
}
function Txt($a) { if ($a) { (($a | Where-Object { $_ -ne 0 } | ForEach-Object { [char]$_ }) -join '').Trim() } }
foreach ($mon in @(Get-CimInstance -Namespace root\wmi -ClassName WmiMonitorID)) {
L 'Monitor' ((Txt $mon.ManufacturerName) + ' ' + (Txt $mon.UserFriendlyName) + ', serial ' + (Txt $mon.SerialNumberID) + ', made ' + $mon.YearOfManufacture)
}
Sec 'Network'
foreach ($n in @(Get-NetAdapter -Physical | Sort-Object Name)) {
L $n.Name ($n.InterfaceDescription + ', ' + $n.Status + $(if ($n.Status -eq 'Up') { ' at ' + $n.LinkSpeed } else { '' }) + ', MAC ' + $n.MacAddress)
}
Sec 'Key settings'
L 'Boot mode' $(if ($env:firmware_type) { $env:firmware_type } elseif (Test-Path 'HKLM:\System\CurrentControlSet\Control\SecureBoot\State') { 'UEFI' } else { 'Legacy BIOS' })
$sb = $null; try { $sb = Confirm-SecureBootUEFI -ErrorAction Stop } catch { }
L 'Secure Boot' $(if ($sb -eq $true) { 'on' } elseif ($sb -eq $false) { 'off' } elseif (-not $admin) { 'needs administrator' } else { 'not supported' })
$tpm = Get-CimInstance -Namespace root\cimv2\security\microsofttpm -ClassName Win32_Tpm
L 'TPM (security chip)' $(if ($tpm) { 'present, version ' + (("$($tpm.SpecVersion)" -split ',')[0]) + $(if ($tpm.IsEnabled_InitialValue) { ', enabled' } else { '' }) } elseif (-not $admin) { 'needs administrator' } else { 'not found' })
$cpu1 = Get-CimInstance Win32_Processor | Select-Object -First 1
L 'Virtualisation (VT-x/AMD-V)' $(if ($cpu1.VirtualizationFirmwareEnabled) { 'on in BIOS' } elseif ($cs.HypervisorPresent) { 'in use by Windows (Hyper-V / WSL)' } else { 'off in BIOS' })
$bl = $null; try { $bl = Get-BitLockerVolume -MountPoint $env:SystemDrive -ErrorAction Stop } catch { }
L 'BitLocker on C:' $(if ($bl) { "$($bl.ProtectionStatus)" } elseif (-not $admin) { 'needs administrator' } else { 'not available' })
L 'Power plan' ((powercfg /getactivescheme) -replace '^.*\((.*)\).*$', '$1')
L 'Fast startup' $(if ((Get-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power').HiberbootEnabled -eq 1) { 'on' } else { 'off' })
$bat = Get-CimInstance Win32_Battery
if ($bat) { L 'Battery' ('' + $bat.EstimatedChargeRemaining + '%' + $(if ($bat.BatteryStatus -eq 2) { ', charging' } else { '' })) }
Sec 'Devices (peripherals)'
$classes = 'Keyboard', 'Mouse', 'Camera', 'Image', 'AudioEndpoint', 'Printer', 'Bluetooth', 'HIDClass', 'DiskDrive', 'Biometric', 'SmartCardReader'
$seen = @{}
foreach ($d in @(Get-CimInstance Win32_PnPEntity | Where-Object { $_.PNPClass -in $classes -and $_.Status -eq 'OK' } | Sort-Object PNPClass, Name)) {
$k = $d.PNPClass + '|' + $d.Name
if ($seen[$k] -or $d.Name -match 'HID-compliant (vendor|system|consumer|device)|^USB Input Device$|Microsoft Bluetooth|Enumerator|Bluetooth Device \(RFCOMM|Protocol|Generic|Root') { continue }
$seen[$k] = 1
L $d.PNPClass $d.Name
}
$out.Add('')
$out.Add('Serial numbers identify your computer. Share this report only with people you trust, such as your repair shop.')
$text = $out -join "`r`n"
Write-Host $text
$file = Join-Path ([Environment]::GetFolderPath('Desktop')) 'netandsky-pc-info.txt'
try { Set-Content -LiteralPath $file -Value $text -Encoding UTF8; Write-Host "`nSaved to $file" -ForegroundColor Green; Start-Process notepad.exe $file } catch { }
if ($Host.Name -eq 'ConsoleHost') { Read-Host "`nPress Enter to close" | Out-Null }
Linux 和 Mac
最快的方法:打开终端,粘贴这一行并按回车:
curl -s https://netandsky.com/pc-linux.txt | sudo sh在 Mac 上可以省略 sudo或者下载后自己运行:
- 在“下载”文件夹中打开终端并运行:
sudo sh netandsky-pc-info.sh在 Linux 上查看序列号和内存条需要 sudo;在 Mac 上用sh netandsky-pc-info.sh即可
查看 Linux / Mac 程序
#!/bin/sh
# netandsky-pc-info.sh - shows what is inside this Linux computer or Mac (netandsky.com/my-computer/)
# It only reads information on this computer. It sends nothing anywhere and changes nothing.
# Run: sh netandsky-pc-info.sh (run with sudo to see serial numbers and memory details on Linux)
# The report is shown here and saved as netandsky-pc-info.txt in the current folder.
OUT=netandsky-pc-info.txt
h() { printf '\n== %s ==\n' "$1"; }
l() { v=$(printf '%s' "$2" | sed 's/^ *//; s/ *$//'); [ -n "$v" ] && printf ' %-26s %s\n' "$1" "$v"; return 0; }
r() { [ -r "$1" ] && tr -d '\n' < "$1" 2>/dev/null; }
have() { command -v "$1" >/dev/null 2>&1; }
report() {
echo "netandsky.com - what is inside this computer"
echo "Made $(date '+%d %b %Y %H:%M') on $(hostname)$( [ "$(id -u)" = 0 ] && echo ' (as root)')"
if [ "$(uname -s)" = Darwin ]; then
h 'Mac'
system_profiler SPHardwareDataType 2>/dev/null | sed -n 's/^ *\(Model Name\|Model Identifier\|Model Number\|Chip\|Processor Name\|Processor Speed\|Total Number of Cores\|Memory\|System Firmware Version\|OS Loader Version\|Serial Number (system)\|Hardware UUID\): */ \1: /p'
h 'macOS'
l 'Version' "$(sw_vers -productName) $(sw_vers -productVersion) ($(sw_vers -buildVersion))"
l 'Architecture' "$(uname -m)"
h 'Memory'
system_profiler SPMemoryDataType 2>/dev/null | sed -n 's/^ *\(Size\|Type\|Speed\|Manufacturer\|Part Number\|Serial Number\|Memory\): */ \1: /p'
h 'Storage'
system_profiler SPStorageDataType SPNVMeDataType 2>/dev/null | sed -n 's/^ *\(Capacity\|Free\|File System\|Device Name\|Media Name\|Model\|Serial Number\|Protocol\|Medium Type\|SMART Status\): */ \1: /p'
h 'Graphics and displays'
system_profiler SPDisplaysDataType 2>/dev/null | sed -n 's/^ *\(Chipset Model\|Total Number of Cores\|VRAM.*\|Resolution\|Display Type\|Display Serial Number\): */ \1: /p'
h 'Key settings'
l 'FileVault' "$(fdesetup status 2>/dev/null)"
l 'Firewall' "$(/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate 2>/dev/null)"
l 'SIP' "$(csrutil status 2>/dev/null)"
l 'Battery' "$(pmset -g batt 2>/dev/null | grep -o '[0-9]*%.*' | head -1)"
h 'Devices (USB and Bluetooth)'
system_profiler SPUSBDataType 2>/dev/null | grep -E '^ {8}[^ ].*:$' | sed 's/^ */ /; s/:$//'
else
D=/sys/class/dmi/id
h 'Computer'
l 'Manufacturer' "$(r $D/sys_vendor)"
l 'Model' "$(r $D/product_name) $(r $D/product_version)"
l 'Serial number' "$(r $D/product_serial || echo 'run with sudo to see')"
h 'Linux'
l 'System' "$(. /etc/os-release 2>/dev/null; echo "$PRETTY_NAME")"
l 'Kernel' "$(uname -r) ($(uname -m))"
l 'Running for' "$(uptime -p 2>/dev/null)"
grep -qi microsoft /proc/version 2>/dev/null && l 'Note' 'this is WSL inside Windows: run the Windows script for the hardware'
h 'Motherboard and BIOS'
l 'Board maker' "$(r $D/board_vendor)"
l 'Board model' "$(r $D/board_name) $(r $D/board_version)"
l 'Board serial' "$(r $D/board_serial || echo 'run with sudo to see')"
l 'BIOS maker' "$(r $D/bios_vendor)"
l 'BIOS version' "$(r $D/bios_version)"
l 'BIOS date' "$(r $D/bios_date)"
h 'Processor'
l 'Name' "$(grep -m1 'model name' /proc/cpuinfo | cut -d: -f2- | sed 's/^ *//')"
if have lscpu; then
lscpu | sed -n 's/^\(Architecture\|Socket(s)\|Core(s) per socket\|Thread(s) per core\|CPU max MHz\|L2 cache\|L3 cache\|Virtualization\):\s*/ \1: /p'
fi
l 'Threads' "$(nproc 2>/dev/null)"
h 'Memory (RAM)'
l 'Installed' "$(awk '/MemTotal/ {printf "%.1f GB", $2/1048576}' /proc/meminfo)"
if [ "$(id -u)" = 0 ] && have dmidecode; then
dmidecode -t memory 2>/dev/null | awk -F': ' '/^Memory Device/{s=""} /^\tSize:/{sz=$2} /^\tLocator:/{loc=$2} /^\tType:/{t=$2} /^\tConfigured Memory Speed:/{sp=$2} /^\tManufacturer:/{mf=$2} /^\tPart Number:/{pn=$2} /^\tSerial Number:/{if (sz !~ /No Module/) printf " %-26s %s %s, %s, %s %s, serial %s\n", loc, sz, t, sp, mf, pn, $2}'
else
l 'Modules' 'run with sudo (and dmidecode installed) to see each memory module'
fi
h 'Storage'
have lsblk && lsblk -d -o NAME,SIZE,ROTA,TRAN,MODEL,SERIAL 2>/dev/null | sed 's/^/ /'
df -h -x tmpfs -x devtmpfs -x squashfs -x overlay 2>/dev/null | sed 's/^/ /'
h 'Graphics'
have lspci && lspci 2>/dev/null | grep -iE 'vga|3d|display' | cut -d' ' -f2- | sed 's/^/ /'
h 'Network'
for n in /sys/class/net/*; do
i=$(basename "$n"); [ "$i" = lo ] && continue
l "$i" "$(r "$n"/operstate), MAC $(r "$n"/address)$( [ -r "$n"/speed ] && s=$(cat "$n"/speed 2>/dev/null) && [ "${s:-0}" -gt 0 ] 2>/dev/null && echo ", $s Mb/s")"
done
h 'Key settings'
l 'Boot mode' "$( [ -d /sys/firmware/efi ] && echo UEFI || echo 'Legacy BIOS')"
have mokutil && l 'Secure Boot' "$(mokutil --sb-state 2>/dev/null)"
l 'TPM (security chip)' "$( [ -e /dev/tpm0 ] || [ -e /dev/tpmrm0 ] && echo "present, version $(r /sys/class/tpm/tpm0/tpm_version_major)" || echo 'not found')"
for b in /sys/class/power_supply/BAT*; do [ -d "$b" ] && l 'Battery' "$(r "$b"/capacity)%, $(r "$b"/status)"; done
h 'Devices (USB)'
have lsusb && lsusb 2>/dev/null | grep -v 'root hub' | cut -d' ' -f6- | sed 's/^/ /'
fi
echo
echo 'Serial numbers identify your computer. Share this report only with people you trust, such as your repair shop.'
}
report | tee "$OUT"
echo
echo "Saved to $(pwd)/$OUT"
序列号可以识别您的电脑:只与您信任的人(例如维修店)分享报告。手机和平板:只能查看上方的浏览器信息。
须知
为什么浏览器显示得更少:浏览器会刻意隐藏序列号、确切内存容量等硬件信息,因为这些信息合在一起可能让您在每个网站上被识别。只有 Chrome 和 Edge 会显示内存,而且最多只显示“8 GB 或以上”;Firefox 和 Safari 完全不提供。
处理器线程是处理器能同时运行的任务数:通常等于核心数,开启超线程 / SMT 时为其两倍。
隐私:上方的信息在您的浏览器中生成,绝不会离开浏览器。程序只在您的电脑上运行,不含任何联网代码。