From Jeffrey Snover:

"Checkout the MshAnalyzer!  It provides a SqlServer Query Analyzer type experience for MSH. 

It is an awesome way to investigate the system and interactively/incrementally develop a script.

 Pretty impressive for a V0.002!

 http://www.karlprosser.com/coder/?page_id=14"