Donnerstag, 26. Januar 2012

Powershell script how to run a timer-job

If you want to run a specific timer-job, you can use this code (replace the value in the %%):

$myJob = Get-SPTimerJob "%Add the timer-job-name in here%"
$myJob.RunNow()

Keine Kommentare:

Kommentar veröffentlichen