rapid7/metasploit-framework — pull request #1255 by R3dy (2013-01-07 17:07:57+00:00)
Title: Added a new mixin psexec.rb

This mixin includes psexec's functionality to execute a single windows command. It adds the 'psexec' method which takes a single STRING argument which should be a valid Windows command.

For an example of a module using this mixin see the following pull request.
1176.