停用所有“准备/运行任务”在特定文件夹中的一堆服务器上,能够再次激活这些任务
我正在寻找一个PowerShell脚本,该脚本可以禁用在3个或更多服务器上任务调度程序中特定文件夹中“准备就绪”或“运行”的所有任务。
更新软件后,我应该能够再次激活脚本被禁用的所有任务,而不仅仅是激活所有禁用的脚本,而是尤其是脚本禁用的脚本。
我知道这应该是可能的,但是我无法组装单个部分。一切都不仅仅是一个命令,都适合我的逻辑能力。
i am looking for a Powershell script that can disable all tasks that are "ready" or "running" in a specific folder in the Task Scheduler on 3 or more servers.
After we updated the software i should be able to activate all the tasks that were disabled by the script again, not just activate all disabled scripts, but specificly the ones that were disabled by the script.
I know this should be possible, but i am not capable of assembling the single parts. Everything thats more than a single command is to much for my logic capacitys.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)