Manage Clutter by using PowerShell | Office 365 5/5 (1)

Clutter is a new Exchange server feature that created for facilitating better and more efficient mailbox management by Exchange users.

The Clutter feature is implemented by analyzing the Exchange mailbox data and based on a “learning process” and other algorithmic decide which of the mail items is “less important.”

The Clutter mechanism will relocate this “less important” mail items into the Clutter folder. The mail items are not deleted by instead, “removed” from the inbox mail folder and by doing so, enable to user to focus solely on important mail items.

A few words from a Microsoft article:

Last fall, we introduced Clutter, which moves less important emails out of your inbox and keeps you focused what’s most important to you. Today Clutter is moving over one million emails per day and saves users 82 minutes per month on average. Starting in June, Clutter will be on by default to help more people benefit from Clutter. We’re also introducing new administrative controls for Clutter and improving how Clutter interacts with users.

[Source of information: De-Cluttering everyone’s inbox]

PowerShell | Help & additional information

In case that you are a novice in the PowerShell environment, you can use the following link to get more information about the “first steps” such as: downloading the required PowerShell
software components, how to use the PowerShell console, running a PowerShell script, etc.

Read more
Link Table
PowerShell Naming Conventions & general information

If you want to get more information about the Naming Conventions that we use for this article and get some general tips about: how to work with the PowerShell, read the article: Help and additional information – o365info.com PowerShell articles

Create remote PowerShell session

Before we can use the required PowerShell commands, we need to download and install the Office 365 cmdlets + create remote PowerShell session to Office 365 or Exchange Online. If you need more information about how to create a remote PowerShell session read the following articles: Part 2: Connect to Office 365 by using Remote PowerShell and Part 3: Connect to Exchange Online by using Remote PowerShell

How to use a PowerShell script

Most of the PowerShell articles include a PowerShell script that simplifies the use of the PowerShell commands. If you want to get more information about: How to use a PowerShell script, read the article: Connect to Office 365 and Exchange Online using a script

PowerShell command and Script languish in more details

If you are new to the PowerShell world, you can read more information about PowerShell in Office 365 environment in the article: The Power of PowerShell

1. Assign Clutter to mailbox

1.1 – Enable clutter for a specific mailbox

PowerShell command Syntax

PowerShell command Example

1.2 – Enable Clutter for of the mailboxes that don’t use Clutter

PowerShell command Syntax

1.3 – Enable clutter for ALL users’ mailboxes (Bulk mode)

PowerShell command Syntax

2. Display information about clutter

2.1 – Display information about Clutter for a specific user

PowerShell command Syntax

PowerShell command Example

2.2 – Display the use of Clutter for all mailboxes (Bulk mode)

PowerShell command Syntax

2.3 – Display information about Clutter folder – number of items and size

PowerShell command Syntax

3. General management tasks related to clutter

3.1 – Create a transport rule to bypass the Clutter folder

PowerShell command Syntax

PowerShell command Example

3.2 – Create a folder tag to delete items from the Clutter folder after X days

(You will need to add the “clutter tag” to the required retention policy)
PowerShell command Syntax

PowerShell command Example

4. Disable Clutter

4.1 – Disable Clutter for a specific mailbox

PowerShell command Syntax

PowerShell command Example

4.2 – Disable Clutter for of the mailboxes that use Clutter

PowerShell command Syntax

4.3 – Disable clutter for all users’ mailboxes (Bulk mode)

PowerShell command Syntax

5. Download the Clutter PowerShell menu script

For your convenience, I have “Wrapped” all the PowerShell commands that were reviewed in a PowerShell Script named: Clutter.ps1
You are welcome to download the script and use it.

download-button-02.png

How to disable the feature of clutter to all existing Exchange Online recipients using the PowerShell script.

The feature of clutter is applied by default to all the Exchange Online recipients.
Many times the Exchange Online administrator would like to disable the clutter until he has the required time to instruct his users about how to use the clutter option.

In case that you want to use the PowerShell script that I add to the article for disabling the clutter option for all the Exchange Online mailboxes, use the following instructions:

  1. Download and save the clutter. ps1 PowerShell script on your local desktop
  2. Activate \excite the PowerShell script named – clutter.ps1
  3. To start the remote PowerShell session with Office 365 and Exchange Online, choose the menu – 0
    disable the option of clutter for Office 365 users -01
  1. A login window will appear. Provide your Office 365 global administrator credentials.
    disable the option of clutter for Office 365 users -02
  1. To disable the option of clutter to all the existing Exchange Online mailboxes (bulk mode) chooses menu number 8disable the option of clutter for Office 365 users -03
  1. In the following screenshot, we can see that the command start to “run” on all the existing Exchange Online mailboxes and disable the Clutter option.
    disable the option of clutter for Office 365 users -04

PowerShell command syntax – Office 365 | Article series index

Now it’s Your Turn!
It is important for us to know your opinion on this article

Summary
Article Name
Manage Clutter by using PowerShell | Office 365
Description
Clutter is a new Exchange server feature that created for facilitating better and more efficient mailbox management by Exchange users.The Clutter feature is implemented by analyzing the Exchange mailbox data and based on a “learning process” and other algorithmic decide which of the mail items is “less important.”
Author
Publisher Name
o365info.com
Publisher Logo
Print Friendly

Related Post

Please rate this

Eyal Doron on EmailEyal Doron on FacebookEyal Doron on GoogleEyal Doron on LinkedinEyal Doron on PinterestEyal Doron on RssEyal Doron on TwitterEyal Doron on WordpressEyal Doron on Youtube
Eyal Doron
Share your knowledge.
It’s a way to achieve immortality.
Dalai Lama

2 Responses to “Manage Clutter by using PowerShell | Office 365”

  1. Thank you Eyal!!! The PS menu script you wrote is perfect, and solved a number of my issues.

  2. Hello Eyal,

    i have a specific requirement, i have few commands, that i have put together but i am not seeing the desired results. i am no genius when writing a script. it would be great if you can help me with this.

    i get the output of this,

    [String]$ExclusionGroupDN = (Get-DistributionGroup “Test Distribution list”).DistinguishedName
    Get-DistributionGroupMember $ExclusionGroupDN
    $ClutterDis = Get-Mailbox -Filter {MemberOfGroup -NotLike $ExclusionGroupDN } -ResultSize Unlimited | Where {$_.WhenCreated -gt(get-date).AddDays(-7)}.

    but when i add

    $ClutterDis=Get-Mailbox -ResultSize unlimited | Where-Object {$_.WhenCreated –gt ((Get-Date).Adddays(-7))} | Where-Object {(Get-Clutter -Identity $_.alias).IsEnabled -eq $True}

    thats when things dont work as they are expected. can this be modified to show only the items that have clutter enabled and are not a part of the distribution list that i am going to specify?

Leave a Reply

Your email address will not be published. Required fields are marked *