Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How to get all key/value from WMIC command?  (Read 15511 times)

0 Members and 1 Guest are viewing this topic.

samz

    Topic Starter


    Greenhorn

    Thanked: 1
    • Experience: Beginner
    • OS: Unknown
    How to get all key/value from WMIC command?
    « on: January 23, 2020, 08:03:26 PM »
    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 regards

    Salmon Trout

    • Guest
    Re: How to get all key/value from WMIC command?
    « Reply #1 on: January 24, 2020, 10:13:27 AM »
    C:\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

    samz

      Topic Starter


      Greenhorn

      Thanked: 1
      • Experience: Beginner
      • OS: Unknown
      Re: How to get all key/value from WMIC command?
      « Reply #2 on: January 28, 2020, 05:33:49 PM »
      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 *"