So write a Powershell script to do that. Use the Windows task scheduler to run the script every 60 minutes after you get it working.
This is good reference/training document.
https://www.sapien.com/books_training/Windows-PowerShell-4
There are plenty of sites on the internet that provide code examples. Just do a Google/Bing search.