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:

Popular Posts

Disclaimer

The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.