title: Using PowerShell to Get SharePoint Content database size
body: <p>What's the powershell command to get the all <code>Content_DB</code> size in <code>SharePoint</code> server(MB)?</p>
  
  <p>Maybe?</p>
  
  <pre><code>Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name, @{Label ="Size in MB"; Expression = {$_.disksizerequired/1024/1024}}
  </code></pre>