@obsolesce said in Use powershell to create a scheduled task to reboot computers on schedule:
@pete-s said in Use powershell to create a scheduled task to reboot computers on schedule:
For logistics, I would also place scheduled tasks that I created in their own task folder. Just like Microsoft and others have.
That way I know the tasks in there is not generated by something else.
One could also fix the description to say the source of the task. I get the appeal of placing them in their own folder nested somewhere in that mess, but it's so much easier to deal with them in the top level directory.
I guess you could fix the name. But it's mostly misbehaving apps that put tasks in the top level directory. I mean Microsoft added the folder structure for task organization. It wasn't there in the old days.
But yeah, it works regardless.