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
818 stars 194 forks source link

Suggestion: add warning when passing an InputArgs that doesn't exist #35

Closed cnotin closed 1 year ago

cnotin commented 4 years ago

Sometimes we make a mistake and we pass a non-existing or mistyped arg in -InputArgs. Invoke-AtomicRedTeam doesn't complain in such cases rendering the error silent... I suggest adding an explicit error message when trying to use an invalid input arg to prevent such silly mistakes :)

clr2of8 commented 1 year ago

with -verbose option you'll see the warning now