Remove a Content Deployment Path

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

Solution: Use the Remove-SPContentDeploymentPath cmdlet.

The Remove-SPContentDeploymentPath cmdlet enables you to remove a specific content deployment path configured on the current farm. Simply provide the name of the content deployment path, as shown in Listing 10.4.

Listing 10.4. Remove a Specific Content Deployment Path

Remove-SPContentDeploymentPath "Marketing Internet Content"

Note

You may not remove a path that has a content deployment job configured. Remove the deployment job first before removing the deployment path.

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.