lets go through some commonly used WMIC Commands
How to find out Serial no of a system from command prompt
a) wmic csproduct get name,vendor,identifyingNumber
ex:
IdentifyingNumber Name Vendor
99L9891 Latitude D610 Dell Inc.
How to get MAC Address from Command prompt
b) wmic nic get macaddress,description
ex:
Description MACAddress
Infrared Port
Bluetooth Device (Personal Area Network) 00:xxxxxxxxxxx:19
RAS Async Adapter
WAN Miniport (L2TP)
WAN Miniport (PPTP) 50:xxxxxxxxxxx:30
How to get Harddisk model/make details from Command prompt
c) wmic diskdrive get name,size,model
ex:
Model Name Size
Hitachi HTS721080G9AT00 \\.\PHYSICALDRIVE0 80023749120
Find out BIOS Details from Command prompt
d) wmic bios get name,serialnumber,version
ex:
Name SerialNumber Version
Phoenix ROM BIOS PLUS Version 1.10 A06 99L9891 DELL - 27d50a02
Find out Details of Windows updates installed from command prompt
e) wmic qfe get description,installedOn /format:csv
ex:
PCPC3-D610,Security Update for Windows XP (KB929969),3/14/2007
PCPC3-D610,Security Update for Windows XP (KB930178),4/11/2007
PCPC3-D610,Update for Windows XP (KB930916),5/10/2007
PCPC3-D610,Security Update for Windows XP (KB931261),4/11/2007
PCPC3-D610,Security Update for Windows XP (KB931768),5/10/2007
PCPC3-D610,Security Update for Windows XP (KB931784),4/11/2007
Get Partition details of Hard disk from command prompt
f)
C:\>wmic
wmic:root\cli>partition get name,bootable,size,type
ex:
Bootable Name Size Type
TRUE Disk #0, Partition #0 4194860544 Installable File System
Disk #0, Partition #1 9475522560 Extended Partition
TRUE Disk #1, Partition #0 8389753344 Unknown
Disk #1, Partition #1 11630545920 Unknown