I need a script which would perform the following:
- Disable all scheduler tasks in a specific Task Scheduler Library folder.
- Wait until all running tasks are complete.
- Execute Win command.
- Re-enable the above mentioned tasks.
This is needed to safely update the binaries without the risk to bump into them holding locks.