Brilliant article and very timely. We have a number of SQL 2005 servers that do not have legacy components installed, hence no DMO. This means database space information is not available.
I have used your script to gather the DB space information and it is working beautifully.
My question is, how can I also monitor the DB space as well as view it? Do I have to duplicate the entire script in a monitor as well as a rule? I want to have an alert fire when DB free space gets less than 10% on data files or logs.