when I create a schedule task, I don’t specify the path, but in this case, the schedule task, that I want to change is not in the default path, and I don’t know if it is the issue.
When I cal the taskname of the schedule task, I can get all the information.
If I remember right you will have to provide the full path of the schedlued task for the cmdlet Set-ScheduledTask. If the task is in the root you will have to provide the "" as the path … so it should look like this: