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

module

Load Scripts Into PowerShell Session

Disclosed
N/A
Created
May 30, 2018

Description

This module will download and execute one or more PowerShell scripts
over a present powershell session.
Setting VERBOSE to true will show the stager results.

Authors

Ben Turner benpturner Ben Turner [email protected]
Dave Hardy davehardy20 Dave Hardy [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/manage/powershell/load_script
msf post(load_script) > show actions
...actions...
msf post(load_script) > set ACTION < action-name >
msf post(load_script) > show options
...show and set options...
msf post(load_script) > 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.