Powershell script to monitor windows process

Hello Friend,

I am not expert in power shell scripting. I nee custom powershell script which check if given process is running on windows machine or not.

will use it in nagios to monitor that process.