1.

Solve : How to get all key/value from WMIC command??

Answer»

On my Asus ZenBOOK S13 UX392FN, this command: wmic computersystem GET systemskunumber outputs this:
Code: [Select]SystemSKUNumber
and this one: wmic computersystem list /format:list GIVE me this:

Code: [Select]AdminPasswordStatus=3
AutomaticResetBootOption=TRUE
AutomaticResetCapability=TRUE
BootOptionOnLimit=
BootOptionOnWatchDog=
BootROMSupported=TRUE
BootupState=Normal boot
Caption=ZENS2
ChassisBootupState=3
CreationClassName=Win32_ComputerSystem
CurrentTimeZone=60
DaylightInEffect=FALSE
Description=AT/AT COMPATIBLE
Domain=WORKGROUP
DomainRole=0
EnableDaylightSavingsTime=TRUE
FrontPanelResetStatus=3
InfraredSupported=FALSE
InitialLoadInfo=
InstallDate=
KeyboardPasswordStatus=3
LastLoadInfo=
Manufacturer=ASUSTeK COMPUTER INC.
Model=ZenBook UX392FN_UX392FN
Name=ZENS2
NameFormat=
NetworkServerModeEnabled=TRUE
NumberOfProcessors=1
OEMStringArray={"kPJ-+7X7+EfTa","jTyRUBSNi7Ydf","fCrOzJ6x1i-eh"," ","90NB0KZ1-M00220"}
PartOfDomain=FALSE
PauseAfterReset=-1
PowerManagementCapabilities=
PowerManagementSupported=
PowerOnPasswordStatus=3
PowerState=0
PowerSupplyState=3
PrimaryOwnerContact=
PrimaryOwnerName=sam
ResetCapability=1
ResetCount=-1
ResetLimit=-1
Roles={"LM_Workstation","LM_Server","NT","Potential_Browser","Master_Browser"}
Status=OK
SupportContactDescription=
SystemStartupDelay=
SystemStartupOptions=
SystemStartupSetting=
SystemType=x64-based PC
ThermalState=3
TotalPhysicalMemory=16985055232
UserName=ZENS2\sam
WakeUpType=6
Workgroup=WORKGROUP
Why the key SystemSKUNumber is missing in the output of the second command ?
How to find the missing keys/values from those Command Line?
Code: [Select] wmic CPU list /format:list
 wmic bios list /format:list
 wmic csproduct list /format:list
 wmic BASEBOARD list /format:list
 wmic diskdrive list /format:list
 wmic computersystem list /format:list
Thank and regardsC:\Users\Mike>wmic computersystem get systemskunumber
SystemSKUNumber
7200-2004A

C:\Users\Mike>wmic csproduct list /format:list


Description=Computer SYSTEM Product
IdentifyingNumber=CM020009-032
Name=
SKUNumber=
UUID=03AA02FC-0414-056D-2506-C00700080009
Vendor=ZOOSTORM
Version=7200-2004A
To get more (maybe all) keys/values, i got this answer on another forum:

Code: [Select]wmic computersystem get * /format:list
Just replace "list" by "get *"



Discussion

No Comment Found