show executor and privilege requirement (#662)
This commit is contained in:
+3
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user