ehikioya.com
Get List Of All SharePoint Sites And Subsites With PowerShell - Ehi Kioya
PowerShell command to iterate through a web application and give you a list of all SharePoint sites and subsites in the web application.