Create a .txt file with all the server name and keep it in safe location (C:\ServerList.txt).
Save the powershell script to a preferred location as .ps1 file.
Create a new task on Windows Task Scheduler to run the powershell script every 5 or 10 minutes.