by

Reporting on Folder RetentionTag Statistics Change 2010-16

Reporting on Folder RetentionTag Statistics Change 2010-16 Mailbox retention tag utility and administration are one of many extra complicated administrative duties on Change from 2010 and one process scripting could be a nice assist with.

With EWS there are two methods you may cope with retrieving the Retention Tags which were utilized to a Folder or Merchandise. In 2013 and 2016,  EWS returns the retention tags utilized to a folder or Merchandise as a Strongly typed property which makes issues simpler to cope with. In Change 2010 you’ll want to entry the underlying prolonged properties for Retention tags (this may even work on 2013 and 2016 as a result of the prolonged properties are the identical).

I’ve posted up a script module on GitHub right here https://github.com/gscales/Powershell-Scripts/blob/grasp/ReportTagged.ps1 that may do that utilizing the Prolonged properties so it should work on Change 2010 and up.

Report-TaggedFolders  – Creates a Report of the FolderTag utilized to every of the Folders in a Mailbox (if they’re tagged). To get all of the availbile Private Tags the Change Administration Shell Get-RetentionPolicyTag cmdlet is used. The script additionally then makes use of the Tag retrieved from the folder to report then variety of Gadgets in that folder which have that Tag utilized and produces a report like

Report-UntaggedFolder – Creates a Report of the Untagged Folder in a Mailbox with the FolderClass, ItemCount and ItemSize.