diff --git a/execution-frameworks/Invoke-AtomicRedTeam/Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 b/execution-frameworks/Invoke-AtomicRedTeam/Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 index fc96d55d..d53a936a 100644 --- a/execution-frameworks/Invoke-AtomicRedTeam/Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 +++ b/execution-frameworks/Invoke-AtomicRedTeam/Invoke-AtomicRedTeam/Public/Invoke-AtomicTest.ps1 @@ -233,6 +233,9 @@ function Invoke-AtomicTest { if ($ShowDetails) { if ($null -ne $finalCommand){ + $executor_name = $test.executor.name + Write-Information -MessageData "executor": $executor_name -Tags 'Name' + Write-Information -MessageData $test.executor.elevation_required -Tags 'Name' Write-Information -MessageData $finalCommand -Tags 'Command' } }