Windows/wmic: Difference between revisions
< Windows
Line 13: | Line 13: | ||
== Get Motherboard Serial Number == | == Get Motherboard Serial Number == | ||
wmic bios get serialnumber | C:\> wmic bios get serialnumber | ||
SerialNumber | SerialNumber | ||
R9HWGD7 | R9HWGD7 |
Revision as of 23:39, 31 May 2024
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
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