Get test dependencies - Adam-Mashinchi/invoke-atomicredteam GitHub Wiki
Some tests require additional configuration to run. For example, some tests are intended for execution on a domain controller instead of a workstation; other tests require you to install additional files.
To check if your environment satisfies a test's prerequisites, use
-CheckPrereqs
:
Invoke-AtomicTest <technique number> -TestName "<test name>" -CheckPrereqs
You can also check the prerequisites for all tests associated with a given technique:
Invoke-AtomicTest <technique number> -CheckPrereqs
Some tests require additional files or tools. Invoke-Atomic can install these
automatically with -GetPrereqs
:
Invoke-AtomicTest <technique number> -TestName "<test name>" -GetPrereqs
The output of -GetPrereqs
indicates whether the installation succeeded.
If -GetPrereqs
fails, you must meet the test prerequisites manually.