Start a Content Deployment Job

Scenario/Problem: You need to kick off a deployment job such that content is deployed from the source site to the target site.

Solution: Use the Start-SPContentDeploymentJob cmdlet.

The Start-SPContentDeploymentJob cmdlet enables you to manually start a content deployment job. Simply provide the name of the content deployment job, as shown in Listing 10.9.

Listing 10.9. Manually Start a Specific Content Deployment Job

Start-SPContentDeploymentJob "Marketing Deployment Job"

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.