Set-Clutter

此 cmdlet 仅在基于云的服务中可用。

使用 Set-Clutter cmdlet 为组织中的邮箱配置待筛选邮件设置。

有关以下语法部分的参数设置的详细信息,请参阅 Exchange cmdlet 语法

语法

Default (默认值)

Set-Clutter
    -Identity <MailboxIdParameter>
    [-Enable <Boolean>]
    [-UseCustomRouting]
    [<CommonParameters>]

说明

您必须先获得权限,然后才能运行此 cmdlet。 尽管本文列出了 cmdlet 的所有参数,但如果某些参数未包含在分配给你的权限中,则可能无法访问这些参数。 若要查找在贵组织中运行任何 cmdlet 或参数所需的权限,请参阅 Find the permissions required to run any Exchange cmdlet

示例

示例 1

Set-Clutter -Identity "Alexander Martinez" -Enable $false

本示例为用户 Alexander Martinez 禁用待筛选邮件。

参数

-Enable

适用:Exchange Online、Exchange Online Protection

Enable 参数指定是启用或禁用邮箱的待筛选邮件。 有效值包含:

  • $true:为邮箱启用待筛选邮件。 此值为默认值。
  • $false:邮箱的待筛选邮件处于禁用状态。

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Identity

适用:Exchange Online、Exchange Online Protection

Identity 参数指定要修改的邮箱。 可以使用能够唯一标识邮箱的任意值。 例如:

  • 名称
  • 别名
  • 可分辨名称 (DN)
  • 可分辨名称 (DN)
  • 域\用户名
  • 电子邮件地址
  • GUID
  • LegacyExchangeDN
  • SamAccountName
  • 用户 ID 或用户主体名称 (UPN)

参数属性

类型:MailboxIdParameter
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-UseCustomRouting

适用:Exchange Online、Exchange Online Protection

{{ Fill UseCustomRouting Description }}

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters