O365, Tech Random's, Tips and Tricks

Disable Clutter through O365 Admin Dashboard with Powershell

Disable clutter on O365 Admin Dashboard

Step 1: Run Powershell ISE as Administrator

Step 2 – Run: Set-ExecutionPolicy RemoteSigned

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

Step 4 – Run:
Import-PSSession $Session

Step 5 – Run:
Get-Mailbox | Set-Clutter -Enable $false

Step 6 – Remember to end the session with:
Remove-PSSession $Session

Or you can just run all of them together, by saving as a .ps1
Set-ExecutionPolicy RemoteSigned
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Get-Mailbox | Set-Clutter -Enable $false
Remove-PSSession $Session

Leave a Reply

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