I'm very new in PowerShell scripting, I'm not looking for someone to solve my problem but a little help.
I have an app that crashes and would like to run a bat file when crash. We have a log file that log certain errors and I want to trigger an execution of a bat file when an error occurs. The log file logs an error like "An error occurred while..." then I want to trigger an action with powershell.
Hope you guys can guide me.