I need help with a script that will search everyone's Archive mailbox for instances of a folder named InBox. I'm close with this script below although I don't know how to add the 'where' bits
Get-Mailbox -Server "ExchangeServer" | Get-MailboxFolderStatistics -Archive | Sort-Object ItemsInFolder –Descending | FT Identity,ItemsInFolder,FolderSize
I'm guessing something like "where Identity like "%InBox%"
Orange County District Attorney