rapid7/metasploit-framework — pull request #2073 by Meatballs1 (2013-07-04 11:05:43+00:00)
Title: Resurrect PSEXEC Powershell https://github.com/rapid7/metasploit-framework/pull/1343

@RageLtMan

Dragged in depdendency from https://github.com/rapid7/metasploit-framework/pull/1379
Refactored to use PSEXEC mixin
Small tidyup of module and user warnings etc.

PERSIST and RUN_WOW64 work for me.
PSH_OLD_METHOD doesn't seem to work but this seems more likely to be an underlying issue with that payload...