redcanaryco / invoke-atomicredteam

Invoke-AtomicRedTeam is a PowerShell module to execute tests as defined in the [atomics folder](https://github.com/redcanaryco/atomic-red-team/tree/master/atomics) of Red Canary's Atomic Red Team project.
MIT License
805 stars 190 forks source link

Tab Completion #140

Closed MHaggis closed 1 year ago

MHaggis commented 1 year ago

The following adds the ability to use tab completion when finding a Technique to run.

It's as simple as :

Invoke-AtomicTest T to autocomplete your Technique number.

An example may be - you remember the technique is T12 something, well now you can cycle through the T12's:

Invoke-AtomicTest T12 and keep tabbing until you get to T1218.

https://github.com/redcanaryco/invoke-atomicredteam/assets/5632822/32353707-2651-4a0e-96ec-70dfbe918a1a

Note: If invoke-atomictest is already imported, you will need to re-import the module in order to get the tab completion. Enjoy!