wmicGet
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://www.mathworks.com/matlabcentral/fileexchange/47858-wmicget), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: wmicGetHardwareInfos
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
