• Hi

    The issue with the db name is when you have a space in the database name or '.' character.. I noticed this after I post the script, so a bit too late.

    btw I am currently using the script with SSIS to go around all my sql server instance and get information and stored it into my DBA database location. If you like I can post the SSIS script too.

    I also used this data to forecast that when I am running out of space I will get notified before it ran out of space.