Running 08 windows server on a VM We need to be notified by email or by other means whenever the site is either 404 or goes to maintenance page. Therefore, we need the script to be constantly checking the site for errors.
When this occurs, we also need the IIS to restart itself using the script.
Since this runs on a server, we need it to execute once and keep on looping.
I need any sort of guidance as to where begin. I was dumped this project, with no prior experience on Powershell.
Thanks.