Database cmdlets in SharePoint 2013
Published: July 16, 2012
Summary: Lists Windows PowerShell cmdlets that enable you to manage databases in SharePoint 2013.
Applies to: SharePoint Foundation 2013 | SharePoint Server 2013 Standard | SharePoint Server 2013 Enterprise
You can use Windows PowerShell cmdlets to manage databases in a SharePoint 2013 farm.
Index of Windows PowerShell cmdlets for SharePoint 2013 includes a complete list of all cmdlets in SharePoint 2013.
| Cmdlet name | Description |
|---|---|
|
Connects the local server computer to a farm. |
|
|
Disconnects the local server computer from the farm. |
|
|
Copies a content database by using Remote BLOB Storage (RBS). |
|
|
Creates a new configuration database. |
|
|
Permanently removes a configuration database. |
|
|
Detaches a content database from the web application it is currently associated with. |
|
|
Returns one or more content databases. |
|
|
Attaches an existing content database to the farm. |
|
|
Creates a new content database and attaches it to the specified web application. |
|
|
Deletes a content database. |
|
|
Sets global properties of a SharePoint content database. |
|
|
Tests a content database. |
|
|
Retrieves all properties of a database. |
|
|
Moves a specified percentage of partitions from one scale-out database to another. |
|
|
Extends the range of a specified scale-out database. |
|
|
Creates a subrange for a specified scale-out database. |
|
|
Removes a specific scale-out database. |
|
|
Imports data from the specified subscription id. |
|
|
Queries a scale-out database for scale-out logs. |
|
|
Displays all inconsistencies related to scale-out databases' ranges. |
|
|
Returns the state information about the specified scale-out database. |
|
|
Returns all scale-out database objects. |
|
|
Exports the data of the specified subscription. |
|
|
Removes all data related to the specified site subscription. |
|
|
Clears all scale-out logs. |
|
|
Clears all partitions inside the specified deleted subrange. |
|
|
Adds an existing scale-out database to the specified service application. |
|
|
Adds an existing scale-out database to the specified service application. |
|
|
Clears all partitions inside the specified deleted subrange. |
|
|
Clears all scale-out logs. |
|
|
Removes all data related to the specified site subscription. |
|
|
Exports the data of the specified subscription. |
|
|
Returns all scale-out database objects. |
|
|
Returns the state information about the specified scale-out database. |
|
|
Displays all inconsistencies related to scale-out databases' ranges. |
|
|
Queries a scale-out database for scale-out logs. |
|
|
Imports data from the specified subscription id. |
|
|
Removes a specific scale-out database. |
|
|
Extends the range of a specified scale-out database. |
|
|
Creates a subrange for a specified scale-out database. |
|
|
Moves a specified percentage of partitions from one scale-out database to another. |
