The SQL Server Premier Field Engineers in Microsoft UK published a nice set scripts on their blogs.
Check it out here and here.