Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How does one go about modifying task scheduler via powershell?

share|improve this question
    
Suffice it to say this is not possible? –  nasl May 31 '11 at 4:17

1 Answer 1

There are a couple of options. If you are on Vista or higher, then the Powershell Pack has cmdlets in it for interacting with the Scheduler API.

If you are on an older OS, you would need to use the COM interface:

$sched = New-Object -COMObject Schedule.Service

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.