Getting no value for OldestItemReceivedDate & NewestItemReceivedDate in Get-Mailboxfolderstatistics Shell cmdlet
Hi,
We are having Exchange 2010.
I am trying to get some information related to the last mail item date and the new mail item date from a certain number of users mailbox.
I am running the command Get-MailboxFolderStatistics Username | FL
This command is giving the output with empty values for OldestItemReceivedDate & NewestItemReceivedDate.
Please help in getting this done, also let me know if I am missing something in running this command.
Regards
Supreet Singh
March 24th, 2011 8:03am
Try:
Get-MailboxFolderStatistics -Identity Username -IncludeAnalysis | FLEd Crowley MVP "There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2011 11:31am
Hi Crowley,
I tried this, but its not working. and giving error.
A positional parameter cannot be found that accepts argument '-IncludeAnalysis'.
+ CategoryInfo : InvalidArgument: (:) [Get-MailboxFolderStatistics], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Get-MailboxFolderStatistics
Please check something is wrong in this command.
Regards
Supreet Singh
March 24th, 2011 8:31pm
Hi,
It Worked with this command....
Get-MailboxFolderStatistics -IncludeOldestAndNewestItems -identity UserName | FL
Regards
Supreet Singh
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2011 8:53pm