February 2013
Intermediate to advanced
304 pages
8h 26m
English
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.
Listing 10.3. Assigning a Variable to a Specific Content Deployment Path
$path = Get-SPContentDeploymentPath -Identity "Marketing InternetContent"
Read now
Unlock full access