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

module

Powershell Exec

Disclosed
N/A
Created
May 11, 2022

Description

Execute an x86 payload from a command via PowerShell

Authors

Platform

Windows

Architectures

cmd

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 payload/cmd/windows/powershell/loadlibrary
msf payload(loadlibrary) > show actions
...actions...
msf payload(loadlibrary) > set ACTION < action-name >
msf payload(loadlibrary) > show options
...show and set options...
msf payload(loadlibrary) > 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.