Set-ExecutionPolicy RemoteSigned
创新互联公司-专业网站定制、快速模板网站建设、高性价比古丈网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式古丈网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖古丈地区。费用合理售后完善,十年实体公司更值得信赖。
$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
网站栏目:ExchangeOnline为组织内用户统一关闭重点邮箱
文章转载:http://lswzjz.com/article/iiieci.html