Jan 22, 2011 at 7:57 AM

Please report any bugs/suggestions to improve this script.

Feb 27, 2012 at 8:42 AM

Might I suggest you add the Add-PsSnapin Microsoft.SharePoint.PowerShell

I didnt use the  SharePoint PowerShell Console because I had about 30  site collections with Sub webs  to check and so created a batch file.


Launching the batch file resulted in:

Unable to find type [Microsoft.SharePoint.Publishing.PublishingWeb]:

Until i added the Snap-in