Get a Specific Content Deployment Path
Scenario/Problem: You need to obtain a specific content deployment path reference.
Solution: Use the Get-SPContentDeploymentPath
cmdlet to assign a variable the results using the -Identity
parameter.
Providing the identity of the content deployment path with the Get-SPContent DeploymentPath
cmdlet retrieves a specific content deployment path. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 10.3.
$path = Get-SPContentDeploymentPath -Identity "Marketing InternetContent"
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.