Windows/wmic
< Windows
wmic
Windows Management
WARNING: WMIC is deprecated! (warning from "wmic /?")
Get Motherboard Model
C:\> wmic baseboard get product,Manufacturer Manufacturer Product ASUSTeK COMPUTER INC. B150I PRO GAMING/WIFI/AURA
Get Motherboard Serial Number
C:\> wmic bios get serialnumber SerialNumber R9HWGD7
Get CPU Name
wmic cpu get name
C:\> wmic cpu get name Name Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
C:\> wmic cpu get name Name Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
ref: [1]
Get Memory Capacity
For a 64GB system:
C:\>wmic computersystem get totalphysicalmemory TotalPhysicalMemory 68587692032
C:\>wmic memorychip get devicelocator, capacity Capacity DeviceLocator 34359738368 PROC 1 DIMM 12 34359738368 PROC 2 DIMM 12
Windows QFE
See Windows_10/Windows_Update_History
wmic qfe list
C:\> wmic qfe list Caption CSName Description FixComments HotFixID InstallDate InstalledBy InstalledOn Name ServicePackInEffect Status http://support.microsoft.com/?kbid=5034466 MY_SYSTEM-0001 Update KB5034466 NT AUTHORITY\SYSTEM 1/24/2024 http://support.microsoft.com/?kbid=5027122 MY_SYSTEM-0001 Update KB5027122 NT AUTHORITY\SYSTEM 6/14/2023 ...
List Disk and Network Drives
Loop volume verify: [2]
@echo off rem listdrives.bat by Kenneth Burgener <kenneth@kennethburgener.org> © Nov 2012 echo Available Drives: for %%a in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( rem echo %%a:: vol %%a: 1>NUL 2>NUL && echo %%a: )
Windows Vista and Windows 7: [3]
wmic logicaldisk get name
List physical drives like \\.\PHYSICALDRIVE1 [4]
wmic diskdrive list wmic diskdrive list brief