amidaware / community-scripts

A curated list of powershell, python, and batch scripts for use in TacticalRMM or anywhere!
MIT License
103 stars 77 forks source link

script to enable Task Scheduler history #93

Open silversword411 opened 1 year ago

silversword411 commented 1 year ago

Enable it for a conservative 7 day history, with options to extend it to 30 days.

I have to imagine it's a system-wide setting, and is probably not enabled by default because it'd probably apply to all default windows tasks (Expand Microsoft | Windows to see them all)....wonder how much disk space/cpu/disk writes that adds to a standard system

bbrendon commented 1 month ago

Looks like its 7 days by default.

silversword411 commented 1 month ago

No it's not....

2024-06-02_185849 - task history

Are you looking at something else?

bbrendon commented 1 month ago

Yea, I was looking at event logs. Never thought to look there.