Posted inPowershell SQL Server
Get-DatabaseSizes
Simple example using SMO to get database storage information. You will need SMO installed for this script to work. Note Size relates to the file size on disk, where as…
Jon Gurgul with SQL Server...and occasionally something else.