get mailboxes where items not older 30 days in inbox folder RRS feed

  • Question

  • Hi everyone!

    I have a SCC cluster.

    I need to get mailboxes where items not older more then 30 days in inbox folder via powershell. Can you help ?

    MVP | MCP Club lead, Moscow
    Monday, August 1, 2011 3:43 PM


  • We made this one:

    [PS] C:\so>Get-Mailbox -server DC-CLMB01 -ResultSize Unlimited -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics -FolderScope Inbox -Inc
    ludeOldestAndNewestItems | Where-Object {$_.OldestItemReceivedDate -ge ($($d.addDays(-31)))} | ft identity > c:\so\new1.txt
    But it's that we need. Because itis folders. Not alias of user.

    MVP | MCP Club lead, Moscow
    • Marked as answer by Alexey Karmo Monday, December 26, 2011 3:12 PM
    Tuesday, August 2, 2011 4:22 PM

All replies