Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Scheduling a Powershell script as a batch job

$
0
0

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



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>