wmicGet

Get computer and operating system information on Windows with WMIC

You are now following this Submission

wmicGet returns computer and operating system informations on Windows platforms.
wmicGet is a wrapper function that call the Windows Management Instrumentation Command-line (WMIC).

wmicGet can also uses the "where" clause of WQL syntaxe to perform more advanced queries.

Examples:

infos = wmicGet('cpu');

infos = wmicGet('win32_logicaldisk', {'DeviceID' 'FreeSpace' 'Size'}, ...
'Where',{'' 'DeviceID' 'C:' true ;
'or' 'DeviceID' 'D:' true})

See wmicGet.m header for more examples and links to the Microsoft documentation.

Cite As

Jerome Briot (2026). wmicGet (https://in.mathworks.com/matlabcentral/fileexchange/47858-wmicget), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: wmicGetHardwareInfos

Categories

Find more on Programming in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0