rapid7/metasploit-framework — pull request #403 by sempervictus (2012-05-21 19:21:18+00:00)
Title: Powershell Expansion 

This pull request adds a post module to execute powershell scripts in memory: script is read, substitutions are made, it is converted to unicode then b64, then either staged to ENV (if scripts size exceeds max CMD input length) or executed directly.

Timeout option has been added as well as a check for encoding status.