You are not logged in.

#1 24 Jan 2020 04:04

budhax
Member
Registered: 04 Dec 2007
Posts: 49

How to get all key/value from WMIC command?

On my Asus ZenBOOK S13 UX392FN, this command: wmic computersystem get systemskunumber outputs this:

SystemSKUNumber

and this one: wmic computersystem list /format:list give me this:

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?

 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 regards

Offline

#2 29 Jan 2020 11:16

budhax
Member
Registered: 04 Dec 2007
Posts: 49

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

To get more (maybe all) keys/values pairs, I got this answer on another forum:

wmic computersystem get * /format:list

Offline

#3 03 Feb 2020 14:30

Simon Sheppard
Admin
Registered: 27 Aug 2005
Posts: 1,130
Website

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

budhax wrote:

To get more (maybe all) keys/values pairs, I got this answer on another forum:

wmic computersystem get * /format:list

Thanks I have added this to the examples on the WMIC page.

Offline

Board footer

Powered by