zl程序教程

您现在的位置是:首页 >  其它

当前栏目

SharePoint PowerShell 修改计时器任务

修改 任务 Sharepoint PowerShell 计时器
2023-09-27 14:21:57 时间

  前言

  最近碰到需要修改计时器任务的需求,然后搜了搜,发现有powershell命令可以搞定,记录一下。

  $timerJob = Get-SPTimerJob -Identity "DocIDEnable"
  Set-SPTimerJob -Identity $timerJob -Schedule "Daily at 18:00:00"

  引用链接:

  https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/set-sptimerjob?view=sharepoint-ps