What have you tried where are you stuck?

look into

Get-childitem -recurse # to check for the file
if($condition){<#do something#>} # if statement so you validate
send-mailmessage # to send the email

and here is how to schedule the task for every hour:

https://community.spiceworks.com/how_to/17736-run-powershell-scripts-from-task-scheduler

Give it a shot yourself. if you get stuck feel free to post the code you have tried and we’ll help

If you post code, please use the ‘Insert Code’ button. Please and thank you!

1 Spice up