Quick Tip: Powershell to List All Databases Used by SharePoint 2010

The following Powershell cmdlet gets a list of all the databases currently used by SharePoint 2010 farm:

Get-SPDatabase | Sort-Object Name | Format-Table Name

If you just need a list of the content databases you can use the following script:

Get-SPContentDatabase | Sort-Object Name | Format-Table Name
Both are useful to try to understand which databases SharePoint 2010 uses if you have a shared database server.

Powershell rules!!!!

See you,



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

%d bloggers like this: