Showing posts with label get-clutter powershell. Show all posts
Showing posts with label get-clutter powershell. Show all posts

Sunday 5 June 2016

Command to disable clutter for single user in Office365 server

Or, PowerShell command to disable clutter option for single user in Office365 server.
Or, PowerShell command to disable clutter option for all users in Office365 server.


COMMAND FOR SINGLE USER:
-----------------------------------------------------------------------------------
Set-Clutter -Identity user@domain.com -Enable $false 
-----------------------------------------------------------------------------------

COMMAND FOR ALL USER:
----------------------------------------------------------------------------------
Get-Mailbox | Set-Clutter -Enable $false
----------------------------------------------------------------------------------

IMP Note: Be careful while executing the PowerShell commands. Select the command appropriately as per your requirement.

How to disable clutter for all users in office365 server?

Or, How to disable clutter for all user’s mailbox in Office365 server?
You would need to run the PowerShell command explained below to disable the clutter option within your organization for all users.
Steps:
Let’s Connect to Office365 Server using Windows PowerShell
1. Open Windows PowerShell as Administrator
2. Copy and paste the commands below (all) then enter Office365 Admin credentials when login             windows popped up:
------------------------------------------------------------------------------------------------------------
Set-Executionpolicy -ExecutionPolicy Unrestricted

$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection
Import-PSSession $Session
 ------------------------------------------------------------------------------------------------------------
After the above command completion, the pop-up windows should like below:

Once you are connected to office 365 server PowerShell, please run the below
command to disable clutter for “All Users” within your organization.
-------------------------------------------------------------------------------------------------------------
Get-Mailbox | Set-Clutter -Enable $false
       ------------------------------------------------------------------------------------------------------------
Note: you can execute “Set-Executionpolicy -ExecutionPolicy Unrestricted” separately if the whole command does not work as combined..
Cheers, Please write me back if you have any query or feedback..