SharePoint Content DB is most important part of SharePoint because its contain most of the dta. But sometimes we may have to delete it.
This post will help you out on how to delete or remove content DB using PowerShell
So lets get started :)
We will use Remove-SPContentDatabase cmdlet to remove the Content Db.
PowerShell Cmd
Get-SPContentDatabase -identify "Content DB name" | Remove- SPContentDatabase
Once you run the above cmd it will ask you confirmation.
Type Y to confirm it and it will remove it from SharePoint.
It will also ask for removing it from SQL Database.So it totally depends on your requirement.
Type Y if you want to remove it otherwise type N
Happy SharePointing :)
This post will help you out on how to delete or remove content DB using PowerShell
So lets get started :)
We will use Remove-SPContentDatabase cmdlet to remove the Content Db.
PowerShell Cmd
Get-SPContentDatabase -identify "Content DB name" | Remove- SPContentDatabase
Once you run the above cmd it will ask you confirmation.
Type Y to confirm it and it will remove it from SharePoint.
It will also ask for removing it from SQL Database.So it totally depends on your requirement.
Type Y if you want to remove it otherwise type N
Happy SharePointing :)
No comments:
Post a Comment