I'd like to know of a way to script the following preferably in pshell:
1. Check for a running process.
2. If it's running, send message to SMTP address.
3. Leverage task scheduler - I know that I can do SMTP alerting in Task Manager, and I know about "Get-Process", I just don't know how to tie it all together.