I need to run a PowerShell script as a batch job to be executed every 5 minutes on a Windows Server 2012 R2 server.
I want to use a scheduled task.
I read on the web different ways to solve the problem but I was unable to make them work.
What is the simplest way to run a PowerShell file as a scheduled job?
Regards
Mario