How To Create Scheduled Task PowerShell- Basic Activity

Asked By 0 points N/A Posted on -
qa-featured

Hi, I like to set Scheduled tasks, but I don’t know how to setup it using PowerShell. So help me inconfiguring a Scheduled Task with PowerShell. Thanks in advance.

SHARE
Answered By 20 points N/A #295710

How To Create Scheduled Task PowerShell- Basic Activity

qa-featured

must have a Power Shell script to create a Scheduled Task. Open the Windows Task Scheduler from the Start menu > Administrative Tools. Next, in the Task Scheduler, click Create Task under the Actions heading which is on the right-hand side, click there and assign a name for the task you were creating and the description is optional and not required if you want to give no problem you can provide. Make settings under Security options heading in General Tab to allow your user accounts to run the task. Next, select Triggers tab, add a new trigger to your scheduled task.

You can specify starting date and duration. Next, go to Actions tab and create a new Action. Set a program to perform an action when task started. Click the program or script box then enter “Power Shell. “Add arguments box is optional one so specify the Power Shell script you saved. Start inbox is also optional, so specify the folder location that contains your Power Shell script. Next, set any other settings in the Conditions and Settings tabs such as emailing each time the script ran. Click OK to close setup.

Related Questions