Quantcast
Channel: Plexus IT Office 365
Viewing all articles
Browse latest Browse all 4

Disable Office 365 Clutter Folder in Windows PowerShell

$
0
0

In an earlier post we learned how to disable the Office 365 Clutter folder feature at the individual mailbox level. Here I’ll demonstrate how to Disable Office 365 Clutter Folder in Windows PowerShell across all mailboxes in the Office 365 account. Below the video you’ll find the series commandlets used to do this. Before you get started, make sure the account you use is an O365  Gloabal Admin.

1. On your local computer, open Windows PowerShell and run the following command. (Copy the text, then right click in PowerShell for it to automatically past)

$UserCredential = Get-Credential

In the Windows PowerShell Credential Request dialog box, type your Exchange Online user name and password, and then click OK.

2. Run the following command.

$Session = New-PSSession -ConfigurationName Microsoft.Exchange 
-ConnectionUri 
https://outlook.office365.com/powershell-liveid/ 
-Credential $UserCredential 
-Authentication Basic -AllowRedirection

3. Run the following command.

Import-PSSession $Session

(If you receive any errors, you might need to configure Windows PowerShell to run scripts. Close PowerShell and open again by right-clicking the icon and

choosing Run as administrator, then run the command below, then go back to step one above.)

Set-ExecutionPolicy RemoteSigned

4. Run the following command to disable the Clutter folder.

Get-mailbox -ResultSize Unlimited | Set-Clutter -Enable $false

5. Safely remove the imported session by running the command below

Remove-PSSession $Session

FacebookTwitterGoogle+PinterestLinkedInBufferEmailShare

The post Disable Office 365 Clutter Folder in Windows PowerShell appeared first on Plexus IT.


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images