rapid7/metasploit-framework — pull request #1149 by dmaloney-r7 (2012-12-10 17:40:53+00:00)
Title: Add 32bit comapt mode for 64 bit targets on wirnm

When a 32 bit payload is selected for an x64 target using the powershell
2.0 method,
it will try to invoke the 32bit version of pwoershell to sue instead
allowing us to still get a session even with the wrong payload arch