Exchange 2016 on Prem / How can I add folders to all users from Powershell.

Bryan Adams 1 Reputation point
2021-05-06T19:00:42.57+00:00

We want to start a retention policy of 30 days move to one folder. example a folder called 30-days. At 60 days to another folder. Example 60-days and 90 days delete.
I have the retention policy setup but i can not find a way to add the folders to all mailbox's every user for standardization.

My CEO swears his last job did it this way and he wants us to do the same.

Thanks in advance.

Bryan.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,096 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,630 questions
{count} votes

4 answers

Sort by: Most helpful
  1. AlexC 246 Reputation points
    2021-05-06T19:51:10.163+00:00

    Hi Bryan,
    Your CEO is probably talking about the Managed Folders feature, which was replaced by Retention Tags and Policies in Exchange 2010.
    The only approach I see for you is leveraging EWS for automating adding a folder and applying a Tag via powershell.
    I found this for you:
    https://blogs.perficient.com/2016/03/23/office-365-script-to-recreate-managed-folders-functionality/

    I hope this helps you a bit further and calm your CEO... :)
    KR, Alex

    No comments

  2. Bryan Adams 1 Reputation point
    2021-05-06T21:41:31.483+00:00

    Hi Alex, Thanks for the reply and the research I really do appreciate it.
    I have seen similar post but I have not been able to find the actual .ps1 file the link goes to a script repository but I have tried searching with no luck.

    @AlexC


  3. Eric Yin-MSFT 4,441 Reputation points
    2021-05-07T02:32:53.997+00:00

    Hi,
    I'm afraid it's not realizable in on-premise Exchange.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments

  4. Bryan Adams 1 Reputation point
    2021-05-07T14:08:48.52+00:00

    Hi Eric,
    Does that mean it is possible in the cloud version of office?

    @Eric Yin-MSFT