Not really more comprehensive 🙂
You can try to use WMI for this - here some possible hints:
http://msdn.microsoft.com/en-us/library/ms180606(SQL.90).aspx
http://msmvps.com/blogs/athif/archive/2005/11/20/76035.aspx
Hope this helps or gives you some ideas...
Regards, Richard.