image thumbnail

wmicGet

version 1.0.0.0 (3.21 KB) by Jerome Briot
Get computer and operating system information on Windows with WMIC

315 Downloads

Updated 16 Sep 2014

View License

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 (2021). wmicGet (https://www.mathworks.com/matlabcentral/fileexchange/47858-wmicget), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: wmicGetHardwareInfos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!