Cleanup after execution - Adam-Mashinchi/invoke-atomicredteam GitHub Wiki
Some atomic tests make changes to your environment. These tests include a command for restoring your environment to its original state. We recommend running the cleanup command after every test execution.
Execute the cleanup command
Use the -Cleanup
flag to run the cleanup command for any test associated with
a given technique number:
Invoke-AtomicTest <technique number> -Cleanup
You can also use the -TestNumbers
, -TestNames
, and -TestGuids
flags to
run the cleanup command for a specific test.
💡 Tip: Use the -ShowDetails
flag to display the details of each cleanup
command.