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-SPContentDeploymentJob cmdlet to assign a variable the results using the -Identity parameter.
Providing the identity of the content deployment job with the Get-SPContentDeploymentJob cmdlet retrieves a specific content deployment job. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 10.7.
Listing 10.7. Assigning a Variable to a Specific Content Deployment Job
$job = Get-SPContentDeploymentJob -Identity "Marketing Deployment Job"
Read now
Unlock full access