Powershell to List Databases used in Sharepoint 2010

Here is a simple PowerShell Command to list all databases used in SharePoint

 

[code]Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name | out-file c:\databases.txt[/code]

 
 

Leave a Reply