I often answer questions about IIS on serverfault.com, stackoverflow.com or forums.iis.com and often people provide very little information about their problem. Nearly always it would be helpful to know the sub-status code and people should try a few common troubleshooting things before asking a questions on these forums.
So I decided to write a PowerShell script to be run on the server to perform some tests and even offer to fix certain common problems.
This is work in progress but I have a first working version on GitHub