Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

As title says. I've applied ratings to documents and they, obviously, haven't appeared yet. Is it possible to use powershell to explicitly force these timer jobs to run immediately?

I believe the relevant timer jobs are:

Social Rating Synchronisation Job

Social Data Maintenance Job

share|improve this question

2 Answers 2

up vote 2 down vote accepted
Get-SPTimerJob | Select DisplayName, Name | Sort Name

Will get you all installed timer jobs

The two in question are called

User Profile Service Application - Social Data Maintenance Job
(User Profile Service Application_SocialDataMaintenanceJob)

User Profile Service Application - Social Rating Synchronization Job (User Profile Service Application_SocialRatingSyncJob)

If you want to activate those jobs by PowerShell use the following syntax:

Get-SPTimerJob | Where-Object { $_.Name -like "*_social*"} | Start-SPTimerJob
share|improve this answer
1  
Perfect, thanks mate. –  DeeMac Nov 9 '12 at 9:29

You can trigger SharePoint timer job using PowerShell as:

#Display name of the Timer Job to Run on-demand
$TimerJobName = "User Profile SA - Social Rating Synchronization Job"

#Get the Timer Job
$TimerJob = Get-SPTimerJob | where { $_.DisplayName -match $TimerJobName}

#start the timer job
Start-SPTimerJob $TimerJob

Read more: http://www.sharepointdiary.com/2013/08/how-to-run-timer-job-manually-in-sharepoint-2010-using-powershell.html

share|improve this answer
2  
So, exactly the same answer as @Anders Rask gave? –  Robert Lindgren Aug 6 '13 at 11:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.