Tuesday, July 30, 2013

STSADM to create site



@SET STSADM="c:\program files\common files\microsoft shared\
             web server extensions\12\bin\stsadm"

%STSADM% –o CreateSite –url http://localhost/sites/Sales
                         -ownerlogin LitwareServer\BrianC
                         -owneremail brianc@litwareinc.com
                         -sitetemplate STS#0

*If you omit the -sitetemplate argument, the initial load of the site will prompt you for a template selection.


The following table shows the values for the default site definitions that are included in an installation of Microsoft SharePoint Foundation. (2010)
ValueSite Definition
STS#0Team Site
STS#1Blank Site
STS#2Document Workspace
MPS#0Basic Meeting Workspace
MPS#1Blank Meeting Workspace
MPS#2Decision Meeting Workspace
MPS#3Social Meeting Workspace
MPS#4Multipage Meeting Workspace


BLOG#0Blog
SGS#0Basic Group Work Site
SGS#1Blank Group Work Site
WIKI#0Wiki
http://msdn.microsoft.com/en-us/library/ms472488.aspx
http://technet.microsoft.com/en-us/library/cc287992(v=office.12).aspx

No comments:

Post a Comment