- On your local computer, open Windows PowerShell and run the following command.In the Windows PowerShell Credential Request dialog box, type your Office 365 user name and password, and then click OK.
- Run the following command.Note If you are an Office 365 operated by 21Vianet customer in China, use the following value for the ConnectionUri parameter:
- Run the following command.
Note: Be sure to disconnect the remote PowerShell session when you're finished. If you close the Windows PowerShell window without disconnecting the session, you could use up all the remote PowerShell sessions available to you, and you'll need to wait for the sessions to expire. To disconnect the remote PowerShell session, run the following command.
To Enable or Disable Clutter for one userPS C:\Scripts> Set-Clutter -Identity firstname.lastname@example.org -Enable $truePS C:\Scripts> Set-Clutter -Identity email@example.com -Enable $false
To Enable or Disable Clutter for all usersPS C:\Scripts> Get-Mailbox | Set-Clutter -Enable $truePS C:\Scripts> Get-Mailbox | Set-Clutter -Enable $false