CMD Master
Back to Blog
Arnošt Havelka

WMIC Mastery

Query and manage Windows systems with WMIC.

Start Interactive Lesson
WMIC Mastery

WMIC (Windows Management Instrumentation Command-line) is a powerful tool that provides access to detailed system information and management capabilities. From listing running processes to querying hardware details, WMIC gives administrators a comprehensive view of the system — all from the command line.

Try the command

Which WMIC alias queries OS details?

Build the command
wmic
Terminal
C:\Users\Student>wmic OS GET Caption,Version
Caption Version Microsoft Windows 11 Pro 10.0.22621

Querying System Information

Use WMIC OS to retrieve information about the operating system, including version, build number, and architecture.

Terminal
C:\Users\Student>wmic OS GET Caption,Version,OSArchitecture

Managing Processes

The WMIC PROCESS alias is invaluable for listing running processes, checking resource usage, and even terminating misbehaving applications.

Terminal
C:\Users\Student>wmic PROCESS WHERE "Name='notepad.exe'" GET ProcessId,Name,CommandLine

Knowledge Check

1 / 2

Which WMIC command shows the OS version?

References

These documentation links provide authoritative details for the commands used in this article.

Up Next

Registry Hacks

Master the Windows Registry from the command line.