When to use 'SharePointContentDatabases'
Use this resource when you need to create, configure, or manage content databases for SharePoint web applications. Content databases store all site content, and their proper configuration (size limits, number of sites, database server) is important for SharePoint performance and scale planning.
Source |
|
DSC Resource |
|
Documentation |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
Hashtable[] |
set of content databases |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
Example
SharePointContentDatabases:
ContentDatabases:
- Name: SP2016_Content_My_02
DatabaseServer: SqlServer001
WebAppUrl: https://my.contoso.com/
Enabled: true
WarningSiteCount: 2000
MaximumSiteCount: 5000
- Name: SP2016_Content_CTH
DatabaseServer: SqlServer001
WebAppUrl: https://content.contoso.com
Enabled: true
WarningSiteCount: 2000
MaximumSiteCount: 5000