Skip to content
Invoke-Atomic
Docs
Specify custom input arguments

Specify custom input arguments interactively

Use the -PromptForInputArgs switch to set your own values for the input arguments used by the atomic test.

Invoke-AtomicTest T1564.004 -TestNames "Create ADS command prompt" -PromptForInputArgs

Scriptable custom input arguments

You can specify all, or a subset of the input parameters via the command line or a script. Any input parameters not explicitly defined will maintain their default values from the test definition yaml.

$myArgs = @{ "file_name" = "c:\Temp\myfile.txt"; "ads_filename" = "C:\Temp\ads-file.txt"  }
Invoke-AtomicTest T1158 -TestNames "Create ADS command prompt" -InputArgs $myArgs