cmd.exe "cmd.exe" /c "schtasks /delete /tn "T1053_005_OnLogon" /f &gt;nul 2&gt;&amp;1 &amp; schtasks /delete /tn "T1053_005_OnStartup" /f &gt;nul 2&gt;&amp;1" powershell.exe ar-win-dc.attackrange.local