Provisioning Sites (Windows SharePoint Services 2.0)

The final step in deploying the server farm is creating customer sites. The Internet Platform and Operations group used a script (Script 3) to create each site. The following example script creates a Windows SharePoint Services site https://someone.stsbeta.iponet.net in the STSBeta environment for user Someone, whose e-mail address is someone@example.com. An Active Directory account STSBeta\someone is created and the login information is sent to someone@example.com.

(If there is already a user with the account STSBeta\someone in the domain, someone1 will be created.)

The quota template 30M is applied to the site. Instructions for creating the quota template are in the "Creating a Quota Template" section earlier in this paper.

Script 3. Created Windows SharePoint Services site.bat

Set _SITENAME=someone
set _OWNERNAME=Someone
Set _Email=someone@example.com
Set _USERDOMAIN=STSBeta

c:
cd "\pro*\com*\mi* s*\we* se*\60\bin"

stsadm.exe -o createsite -url https://%_SITENAME%.stsbeta.iponet.net -ownerlogin %USERDOMAIN%\%_SITENAME% -ownername "%_OWNERNAME%" -owneremail %_Email% -sitetemplate sts -quota 30M

The script can be edited to change the user name and the URL.