千家信息网

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

发表于:2025-01-23 作者:千家信息网编辑
千家信息网最后更新 2025年01月23日,Set-ExecutionPolicy RemoteSigned$USerCredential = Get-Credential$Session = New-PSSession -Configurat
千家信息网最后更新 2025年01月23日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

0