Run SharePoint Timer jobs from PowerShell Run SharePoint Timer jobs from PowerShell powershell powershell

Run SharePoint Timer jobs from PowerShell


Have a look at the Start-SPAdminJob cmdlet here

According to this article, it is the equivalent of execadmsvcjobs.


Try using something like this:

$wa = Get-SPWebApplication $urlGet-SPTimerJob | ?{$_.Name -match "VariationsCreateHierarchies"} | ?{$_.Parent -eq $wa} | Start-SPTimerJob 

This snippet runs the Create Variations Hierarchies job for the the web application at $url