N
N
nfire2015-06-01 14:48:20
PowerShell
nfire, 2015-06-01 14:48:20

How to disable and enable the task scheduler task in a script?

Actually a subject. It is necessary in the script, depending on the conditions, to disable and enable tasks in the scheduler. With the help of schtasks, you can delete, create and start and stop tasks, but I would like to solve the issue in a less radical way. Although it will do, but it looks ugly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-06-01
@nfire

https://technet.microsoft.com/en-us/library/jj6498...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question