I have another iteration I am trying to complete for the question I posted on 4/25/2011 (Question Title: How do I omit specific mailbox folders from being searched in PowerShell when running a script to pull mailbox and mailbox folder information?)
I would still like to keep the mailbox seach restricted to Inbox, SentItems and UserCreated. The change I am looking to make would be to what is outputted to the csv file and keeping the info per mailbox to one line only.
Can we have one 1 line per user still catching the same info (not including the folder type column)? The csv output file should look like this:
displayName, SMTPAddress, RetentionPolicy, ItemsInMailbox, NewestItem, NewestItemFolder, OldestItem, OldestItemFolder