ar-win-2.attackrange.local Administrator "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" &amp; {if (Test-Path \""C:\AtomicRedTeam\atomics\..\ExternalPayloads\PowerDump.ps1\"") {exit 0} else {exit 1}} HOSTNAME.EXE "C:\Windows\system32\HOSTNAME.EXE"