How can I generate several exploits in metasploit in a script like manner? [duplicate]

I need to generate several files in metasploit for testing some signatures and normally in metasploit I am required to msfconfole to start the engine and select an exploit using use /path/to/exploit/ set /some/payload/ set SOMEPARAM foobar… Continue reading How can I generate several exploits in metasploit in a script like manner? [duplicate]