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

add timestamp to logfile name #137

Closed clr2of8 closed 1 year ago

clr2of8 commented 1 year ago

If using the Attire-Execution logger, change the default ExecutionLogPath extension to json. Also add a timestamp placeholder. Any ExecutionLogPath with a timestamp place holder will be replaced by the current time stamp. This is especially helpful when using the Attire logger since it overwrites log files instead of appending to them unless a different ExecutionLogPath is specified.