Tuesday, December 4, 2012

Create a new content deployment path by using Windows PowerShell in SharePoint 2010

·         Verify that you meet the following minimum requirements:
o   See Add-SPShellAdmin.
·         On the Start menu, click All Programs, click Microsoft SharePoint 2010 Products, and then click SharePoint 2010 Management Shell.
·         From the Windows PowerShell command prompt (that is, PS C:\>), type the following command and press ENTER after each line of the command:

$credentials=Get-Credential New-SPContentDeploymentPath -Name <Name of the new deployment path> -SourceSPWebApplication <GUID, URL or a valid SPWebApplication object of the source Web application> -SourceSPSite <GUID, URL or a valid SPSite object of the source site> -DestinationCentralAdministrationURL <URL of the Central Administration Web site on the destination server> -DestinationSPWebApplication <GUID, URL or a valid SPWebApplication object of the destination Web application> -DestinationSPSite <GUID, URL or a valid SPSite object of the destination site> -PathAccount $credentials

No comments:

Post a Comment