1. 首页
  2. 服务器

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

Set-ExecutionPolicy RemoteSigned

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

 

Set-OrganizationConfig -FocusedInboxOn $false

Get-OrganizationConfig |fl FocusedInboxOn

禁用用户创建Office 365 组

Get-OwaMailboxPolicy -Identity "OwaMailboxPolicy-Default"

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

查看动态通迅组成员

$DDG = Get-DynamicDistributionGroup "All Nipc Employees"

Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter -OrganizationalUnit $DDG.RecipientContainer

原创文章,作者:夜风博客,如若转载,请注明出处:https://www.homedt.net/16597.html

联系我们

联系QQ:28575315