

Click on "Change User or Group" if you need to change the account under which the task is running. Right Click on MyScheduledTasks and choose "Create Task". Right click the Task Scheduler Library node and create a new folder.

Go to the Configuration Node of the Server Manager (Windows Server 2008, 2008 R2) or to Computer Manager -> System Tools (Windows 7 Pro) and click on Task SchedulerĢ.Go to Start -> Control Panel -> Administrative Tools -> Task Scheduler.There are several ways to start the Task Scheduler, such as: In this example I show how you can backup a database, but this can be applied to any SQL Server task you want to automate and have scheduled on a regular basis.ġ.

Solutionįollowing is the step by step process to setup Task Scheduler to run a PowerShell script. This applies to Windows 2008 Server, Windows 2008 Server R2 and Windows 7.
#SCHEDULE SERVER 2003 BACKUP BATCH FILE HOW TO#
In this tip I'll describe how to schedule a PowerShell script with the Task Scheduler MMC snap-in. By: Diana Moldovan | Updated: | Comments | Related: More > PowerShellĮven if your SQL Server edition does not include the SQL Server Agent service (if you use SQL Express, for instance), you can still automate administration tasks without using any 3rd party products.
