Automating Chatty Maintenance With PowerShell

Chatty is a popular chat application for streaming site Twitch.tv. It is generally used for interacting in channel chat rooms as well as logging, running scripts, and live statistics. Due to this feature set, some users run it 24/7. One problem that exists is that the logs don't get separated, even if the program is restarted, the log continues on in the same file. Over time this log file can get rather large. Additionally Chatty needs to exit gracefully to save any configuration changes.