Hi
I am wondering how could I achieve this idea:
I just finished cleaning items in deleted items folder older than 90 days.
now I want to know if the items left are older than lets say 100 days but like per database(otherwise report will be hell , a lot of mailboxes per mailbox database)
I can get the info per mailbox by running get-mailboxfolderstatistics -folderscope deleteditems -IncludeOldestAndNewestItems -IncludeAnalysis |?{$_.folderpath -eq "/deleted items"}
question is how to I report/record oldestitemrecieveddate ad newestitemrecieveddate
for example:
they should all be around 90 days and newer right(cause I purged 90 and older) but lets say if anything above 100 days record it or count how many of these.
Thanks