Vulnerability & Exploit Database

Back to search

Windows Manage PowerShell Download and/or Execute

This module will download and execute a PowerShell script over a meterpreter session. The user may also enter text substitutions to be made in memory before execution. Setting VERBOSE to true will output both the script prior to execution and the results.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Nicholas Nam (nick <Nicholas Nam (nick [at]>
  • RageLtMan


  • 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/exec_powershell msf post(exec_powershell) > sessions ...sessions... msf post(exec_powershell) > set SESSION <session-id> msf post(exec_powershell) > show options and set options... msf post(exec_powershell) > run