Exchange Online 为组织内用户统一关闭重点邮箱

Set-ExecutionPolicy RemoteSignedide

 

$USerCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://partner.outlook.cn/PowerShell-LiveID/ -Credential $USerCredential -Authentication Basic -AllowRedirection
Import-PSSession $Sessionget

 

Set-OrganizationConfig -FocusedInboxOn $falseit

Get-OrganizationConfig |fl FocusedInboxOnio

禁用用户建立Office 365 组class

Get-OwaMailboxPolicy -Identity "OwaMailboxPolicy-Default"sed

Set-OwaMailboxPolicy -Identity "OwaMailboxPolicy-Default" -GroupCreationEnabled $falsedi

相关文章
相关标签/搜索