February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You want to remove a configuration database from the farm and delete the actual SQL Server database and data.
Solution: Use the Remove-SPConfigurationDatabase cmdlet.
The Remove-SPConfigurationDatabase cmdlet enables you to delete the current configuration database. You do not need to pass any parameters into this cmdlet, as shown in Listing 7.9.
Listing 7.9. Sample Script for Removing a Configuration Database
Remove-SPConfigurationDatabase
Tip
Run the Remove-SPConfigurationDatabase cmdlet with the -WhatIf switch parameter to display the actual configuration database that will be removed.
This cmdlet already knows which configuration database the current server and SharePoint farm are ...
Read now
Unlock full access