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 space refers to the storage used or available.Usage Examples:Get-DatabaseSizes Get-DatabaseSizes . | Select * G

3 Star
1,558 times
Add to favorites
E-mail Twitter Digg Facebook
Be the first to ask a question.