Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Windows Gather Run WMIC Commands

Disclosed
N/A
Created
May 30, 2018

Description

This module executes WMIC commands on the specified host.

Author

Carlos Perez [email protected]

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use post/windows/gather/wmic_command
msf post(wmic_command) > show actions
...actions...
msf post(wmic_command) > set ACTION < action-name >
msf post(wmic_command) > show options
...show and set options...
msf post(wmic_command) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.