This stored procedure loops through each view and performs an action on that stored procedure, like printing the records or running an sp_help. Please install this stored procedure in the MASTER database. For full usage instructions and advanced parameters please see the article about it at http://www.sqlservercentral.com/columnists/bknight/sp_msforeachworker.asp
Shortened version of the usage (there are a lot more parameters that can be seen on the article.):
sp_MSforeachsproc @COMMAND1 = "Print '?'"