In this article I am showing you how to perform Import/Export operation of a particular SharePoint site using Power Shell 1. On the Start menu, click All Programs.
2. Click Microsoft SharePoint 2010 Products.
3. Click SharePoint 2010 Management Shell.
4. At the Windows Power Shell command prompt type the following command: 5. You will get a Power shell command prompt like below
6. In SharePoint 2010, Power Shell command Get-SPWebTemplate is used to export the site
7. Please see the screen shot for the Power Shell command $template = Get-SPWebTemplate "STS#0" New-SPSite -Url "your Site collection URL" -OwnerAlias "domain\user" -Template $template
8. Where STS#0" represent a team site template
9. Please make sure you have created a managed path for the same. I will cover creating managed path in another article 10. You can use the below command to display basic information about all the STS templates
Get-SPWebTemplate "STS*"
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: