There are situations were the folder might have been deleted and may be moved inside any other folders available in the mailbox. In such case we may require to audit or generate the complete folder structure of the mailbox.
Please execute the below command to list out the folder structure of any mailbox on exchange or 0365.
Get-MailboxFolderStatistics -Identity UsermailID | Select Name,FolderPath,FolderSize,FolderandSubFolderSize
If you wish to view the Output on a Grid or a pop-up window, include Out-GridView at the end of the command.
Get-MailboxFolderStatistics -Identity UsermailID | Select Name,FolderPath,FolderSize,FolderandSubFolderSize | Out-gridview
Thanks,
WintelAdmin
Facebook Comments