Avatar of Scotch Tech
Scotch Tech
Flag for United States of America

asked on 

Need a powershell script

I have a script that will pull info for 1 mailbox. I need it for ALL mailboxes:


$mailbox1=get-mailbox mailbox1
Get-MailboxFolderStatistics $mailbox1 | ? {$_.folderpath -like "*inbox/*" -and $_.date -gt (Get-Date).AddDays(-2) } | select $Mailbox1.name,folderpath



PowershellExchange

Avatar of undefined
Last Comment
Scotch Tech

8/22/2022 - Mon