Register
Home   Ask Question Discuss Purchase Submit Events Give Solutions Share News
Automobiles Beauty & Styles Business Computers & Internet Sports Travel Consumer Electronics Education Entertainment & Music Family Society & Culture Food & Drinks Health
Computer Networking
Hardware
Internet
Programming & Design
Security
Software
Other - Computers
which content database is associated with a site collection
-->

Question: How to check the the database associated with the site in Sharepoint 2010 using Powershell.


Solution:


To determine which content database is associated with a site collection


1.      Verify that you have Sharepoint Management Shell installed. 


2.      On the Start menu, click All Programs.


3.      Click Microsoft SharePoint 2010 Products.


4.      Click SharePoint 2010 Management Shell.


5.      At the Windows PowerShell command prompt (PS C:\>), type the following command, and then press ENTER:


Get-SPContentDatabase -Site <Site URL>


-Site specifies the site collection for which you want to know the associated content database.


The command returns the content database associated with the site

--
Bookmark and Share
Related Posts
Comments
Add Comment
Name*
Email*
Comment*
Hot Categories: Family Security India Friends General Health Care Women's Health Jokes & Riddles Celebrities
Contact Us About Us Privacy Policy Copyright Sitemap