cmd.exe "cmd.exe" /c "del C:\inetpub\wwwroot\b.jsp /q &gt;nul 2&gt;&amp;1 &amp; del C:\inetpub\wwwroot\tests.jsp /q &gt;nul 2&gt;&amp;1 &amp; del C:\inetpub\wwwroot\cmd.aspx /q &gt;nul 2&gt;&amp;1" powershell.exe ar-win-2.attackrange.local