While the Graphical User Interface (GUI) is convenient, it often hides the raw telemetry required to diagnose severe system errors. This encyclopedia covers the three most powerful diagnostic command-line tools built directly into Windows.
1. WMIC: Windows Management Instrumentation Command-line
WMIC allows you to query the motherboard, CPU, and RAM at a hardware level without third-party software.
:: Check RAM speed, capacity, and manufacturer
wmic memorychip get devicelocator, speed, capacity, manufacturer
:: Get exact Motherboard model and BIOS version
wmic baseboard get product,Manufacturer,version,serialnumber
wmic bios get smbiosbiosversion
:: Check hard drive physical SMART health status
wmic diskdrive get status,model
2. Diskpart: The Volume Master
When USB drives become "unformattable" or Windows Disk Management refuses to delete a hidden recovery partition, `diskpart` is the nuclear option that bypasses GUI safety locks.
:: Open elevated CMD and type:
diskpart
:: Find your drive:
list disk
select disk 1 [CAREFUL! Ensure this is the correct drive]
:: The ultimate wipe (Deletes all partitions, MBR, and GPT tables)
clean
:: Rebuild the drive for use
create partition primary
format fs=ntfs quick
assign
exit
3. Netsh: Network Shell Deep Diagnostics
Beyond simple IP flushing, `netsh` can generate comprehensive HTML reports of your entire Wi-Fi history and establish packet traces.
:: Generate a massive HTML dashboard of all Wi-Fi disconnects and signal strength
netsh wlan show wlanreport
:: Reveal saved Wi-Fi passwords (replace "NAME" with the network name)
netsh wlan show profile name="NAME" key=clear