rapid7/metasploit-framework — pull request #2959 by Meatballs1 (2014-02-08 01:05:36+00:00)
Title: Windows CMD Powershell Reverse TCP

Windows deserves some decent CMD payloads too. There's no reason we couldn't do a meterpreter CMD payload via powershell either?

This could be done with -C for a smaller command, I'm not sure the best way to go about that.

We could either have reverse_powershell and reverse_powershell_encoded. I dont think we can use encoder as it will target the whole string (hitting powershell.exe etc).