I am looking for a PowerShell script to monitor a website status and send email only if the response code something else except 200.
So if the website is down it should send email to me, if the site is up no action required.
Can someone help here please