Remove a Content Deployment Job

Scenario/Problem: You need to delete a content deployment path configuration from the SharePoint farm.

Solution: Use the Remove-SPContentDeploymentJob cmdlet.

The Remove-SPContentDeploymentJob cmdlet enables you to remove a specific deployment job from the current farm. Simply provide the name of the content deployment job, as shown in Listing 10.8.

Listing 10.8. Remove a Specific Content Deployment Job

Remove-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.