In this article we are able to show how to Schedule PowerShell
script using task scheduler.
Scheduling the PowerShell script is very easy, once we
schedule the task it will start automatically without our interaction.
Start Programs -> Enter Task Scheduler.
Right Click on Task Scheduler and click on Create Task as
shown below.
In General Tab
Enter the Name and Change the options as per the Screen Shot
In Triggers Tab, Click on New schedule the task as per your requirement.
In Actions Tab
Program/Script
option browse the PowerShell.exe location
C:\Windows\System32\ WindowsPowerShell\v1.0\ powershell.exe
Add Arguments (optional):- Add the PowerShell that you want
to schedule.
Click on Ok.
In the Task Scheduler library we can able to see the
Scheduled Jobs.
It will run automatically as per your scheduled time.
Please let me know having any doubts on this article.
SharePoint Online Real Time Training
Contact: JLAKSHMITULASI@GMAIL.COM