linux下
    dmidecode

    1. Usage: dmidecode [OPTIONS]
    2. Options are:
    3. -d, --dev-mem FILE Read memory from device FILE (default: /dev/mem)
    4. -h, --help Display this help text and exit
    5. -q, --quiet Less verbose output
    6. -s, --string KEYWORD Only display the value of the given DMI string
    7. -t, --type TYPE Only display the entries of given type
    8. Valid type keywords are:
    9. bios
    10. system
    11. baseboard
    12. chassis
    13. processor
    14. memory
    15. cache
    16. connector
    17. slot
    18. -H, --handle HANDLE Only display the entry of given handle
    19. -u, --dump Do not decode the entries
    20. --dump-bin FILE Dump the DMI data to a binary file
    21. --from-dump FILE Read the DMI data from a binary file
    22. --no-sysfs Do not attempt to read DMI data from sysfs files
    23. --oem-string N Only display the value of the given OEM string
    24. -V, --version Display the version and exit

    windows下

    1. Get-WmiObject
    2. [-Class] <String>
    3. [[-Property] <String[]>]
    4. [-Filter <String>]
    5. [-Amended]
    6. [-DirectRead]
    7. [-AsJob]
    8. [-Impersonation <ImpersonationLevel>]
    9. [-Authentication <AuthenticationLevel>]
    10. [-Locale <String>]
    11. [-EnableAllPrivileges]
    12. [-Authority <String>]
    13. [-Credential <PSCredential>]
    14. [-ThrottleLimit <Int32>]
    15. [-ComputerName <String[]>]
    16. [-Namespace <String>]
    17. [<CommonParameters>]
    18. Get-WmiObject -Class Win32_Process
    19. Get-WmiObject -Class Win32_Service -ComputerName 10.1.4.62
    20. Get-WmiObject -Namespace "root/default" -List

    相见:https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-wmiobject?view=powershell-5.1