How To Create SharePoint 2010 Site Collection In Its Own DB
2013-11-28 14:05
746 查看
在SharePoint 2010中可以使用Management Shell 为新建的Site Collection 创建自己的DB.
在 Shell中执行如下命令:
在 Shell中执行如下命令:
1. $w = get-spwebapplication http://yoursite (yoursite为你所要新建的SiteCollection 所在WebApplication中的SiteCollection)
2. New-SPContentDatabase "Your DB Name" -DatabaseServer "Your DB Server" -WebApplication $w
3. New-SPSite YourSiteUrl –OwnerAlias Domain\OwnerAccount -Name "Site Title" -Template "STS#0"
2. New-SPContentDatabase "Your DB Name" -DatabaseServer "Your DB Server" -WebApplication $w
3. New-SPSite YourSiteUrl –OwnerAlias Domain\OwnerAccount -Name "Site Title" -Template "STS#0"
相关文章推荐
- How to Create Mysite in SharePoint 2010
- How to Create Multilingual Webpart in SharePoint 2010 (C# 方式)
- How to Create Multilingual Webpart in SharePoint 2010? Use Localization in Globalization.
- How to create your own custom 404 error page and handle redirect in SharePoint
- How to hide my site and my document link in the right-top corner of sharepoint 2010
- 转:How to create your own custom 404 error page and handle redirect in SharePoint 2007 (MOSS)?
- How to create your own custom 404 error page and handle redirect in SharePoint 2007 (MOSS)?
- How to Setup Load Balance in SharePoint 2010 Farm
- [转]How to Create a Thumbnail Picture Library View in SharePoint 2007
- How to get current date time in SharePoint Site Time Zone
- [Solution]How to create Project Web App in SharePoint
- [转]如何删除放置库(How to Delete the Drop Off Library)in SharePoint 2010
- SharePoint 2010 查询不以某个字符开头的数据[How to Create a SharePoint “Does Not Begin With” Filtered List View]---计算栏的妙用
- How to redirect to a Custom Page for Event Receiver in SharePoint 2010
- SPJS Upload for SharePoint: Custom upload page for uploading documents to various document libraries in a site collection
- How to create and delete a SharePoint site by web application
- How to remove the ribbon tabs in list forms in SharePoint 2010
- How to use document library in Sharepoint 2010
- (Redirect)How to create my own Corporate intranet(Site Definition In MOSS 2007)?(http://hermansberghem.blogspot.com/2008/04/crea
- How to Create a SharePoint 2010 Project Without SharePoint Server