Disabling CLUTTER on Office365 – PowerShell

PS C:\WINDOWS\system32> $LiveCred = Get-Credential

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential

PS C:\WINDOWS\system32> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://ps.outlook. .com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
WARNING: Your connection has been redirected to the following URI:
https://ps.outlook.com/PowerShell-LiveID?PSVersion=4.0

PS C:\WINDOWS\system32> set-executionpolicy remotesigned

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is “Y”): y
PS C:\WINDOWS\system32> Import-PSSession $session
WARNING: The names of some imported commands from the module ‘tmp_lflvsrxg.n4r’ include unapproved verbs that might
make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
Verbose parameter. For a list of approved verbs, type Get-Verb.

ModuleType Version    Name                                ExportedCommands
———- ——-    —-                                —————-
Script     1.0        tmp_lflvsrxg.n4r                    {Add-AvailabilityAddressSpace, Add-DistributionGroupMember…
PS C:\WINDOWS\system32> Get-Mailbox -ResultSize unlimited | Set-Clutter -enable $false

Facebook Comments
Close Menu
Mad4IT on Facebook