I can get all of the webs listed out but when I try to add Where-Object, nothing is returned. How do I get this where object working? This is SharePoint 2013.
$WepApp = "http://mywebapp.com/"
$site = Get-SPSite -Limit All $WepApp
$filteredWebs = $site | Get-SPWeb -Limit All | Where-Object {$_.Url -like "*invest*"}