Create a New Deployment Path
Scenario/Problem: You need to setup and configure a new deployment path.
Solution: Use the New-SPContentDeploymentPath
cmdlet.
Setting up a new deployment path involves mapping the source web application and site to a target web application and site. You can use the New-SPContentDeploymentPath
cmdlet to facilitate this mapping, as shown in Listing 10.1
New-SPContentDeploymentPath -Name "Marketing Internet Content" -SourceSPWebApplication "SharePoint - 80" -SourceSPSite"http://intranet.sp2013.com/Marketing" -DestinationCentralAdministrationURL "http://internet.sp2013.com:12345"-DestinationSPWebApplication "SharePoint - Internet" -DestinationSPSite "http://internet.sp2013.com/Marketing" ...
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.