Thursday, May 01, 2014

Content Database ID in SharePoint

How to find out the Database Id {GUID} for the specific database on which you know by its name.
There is no GUI for this requirement except the GUID append with the URL.

Step 1
In your Central Adminstration Page navigate to "_admin/CNTDBADM.aspx".
This page will list the all the content databases for the selected webapplication as a link.When you click on the content database name navigation URL will be append as below.


So replace the %7B with Open curly brace ( { ),%2D with closed dash (-) and %7D with closed curly brace ({}.

Step 2

Fire the PowerShell Command to get the database Id

Get-SPContentDatabase -Identity wss_Content