Reduce the amount of data a TimerJobHistory table.
$history = Get-SPTimerJob | Where-Object {$_.name -eq „job-delete-job-history“}
$history.daystokeephistory
$history.daystokeephistory = 2
$history.update()
$history.runnow()
Reduce the amount of data a TimerJobHistory table.
$history = Get-SPTimerJob | Where-Object {$_.name -eq „job-delete-job-history“}
$history.daystokeephistory
$history.daystokeephistory = 2
$history.update()
$history.runnow()