Task Scheduling a powershell script
This section describes the steps to schedule the power shell script.
Note: Script should be stored locally on server
Step 1: Go to Startè Administrative
tools è Task schedulerè Right click on Task Scheduler libraryè Create task
Step 2: Type the necessary fields as per below screenshot
Step 4: Under settings click on Monthly and select all
Step 5: Under days click on 15 and 30 and click ok
Step 6: Click on action tab and then on new action and browse to the PowerShell
client app on below location
Program/script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add argument (optional): -Command "& Path of the script -url URL of script -List
List name"
Once the above entries are done click on ok
No comments:
Post a Comment