Scenario/Problem: You need to setup and configure a new deployment job.
Solution: Use the New-SPContentDeploymentJob
cmdlet.
Setting up a new deployment job involves mapping the source web application and site to a target web application and site. You can use the New-SPContentDeploymentJob
cmdlet to facilitate this mapping, as shown in Listing 10.5
New-SPContentDeploymentJob -Name "Marketing Deployment Job" -
SPContentDeploymentPath "Marketing Internet Content"
The -SPContentDeploymentPath
is the name of the deployment path used for this deployment job.
Note
A content deployment path must be configured first before a content deployment job can be created.
3.16.66.206