Get Active Databases in SharePoint 2010 Farm

November 7, 2012 — Leave a comment


Follow these steps to list all active databases in the SharePoint 2010 Farm:

  • Logon to your SharePoint server farm (preferably the server that hosts Central Admin)
  • Click Start
  • Click All Programs
  • Click SharePoint 2010 Products
  • Click SharePoint 2010 Management Shell (run as administrator)
  • Type Get-SPDatabase | Select Name | Out-File c:\alldbs.txt (this will create the file for you if it doesn’t exist)

No Comments

Be the first to start the conversation!

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s