Get-EmailTenantSettings
此 cmdlet 仅在基于云的服务中可用。
使用 Get-EmailTenantSettings cmdlet 查看在Microsoft Defender for Office 365组织中是启用或禁用优先级帐户保护。 有关优先级帐户的详细信息,请参阅 管理和监视优先级帐户。
有关以下语法部分的参数设置的详细信息,请参阅 Exchange cmdlet 语法。
语法
Default (默认值)
Get-EmailTenantSettings
[[-Identity] <EmailTenantSettingsIdParameter>]
[<CommonParameters>]
说明
您必须先获得权限,然后才能运行此 cmdlet。 尽管本文列出了 cmdlet 的所有参数,但如果某些参数未包含在分配给你的权限中,则可能无法访问这些参数。 若要查找在贵组织中运行任何 cmdlet 或参数所需的权限,请参阅 Find the permissions required to run any Exchange cmdlet。
示例
示例 1
Get-EmailTenantSettings | Format-List Identity,EnablePriorityAccountProtection
此示例显示是在组织中启用或禁用优先级帐户保护。
参数
-Identity
适用:Exchange Online
Identity 参数指定要查看的设置对象。 组织中唯一的设置对象名为 Default。
参数属性
| 类型: | EmailTenantSettingsIdParameter |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | 0 |
| 必需: | False |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。