Get-DataClassification
此 cmdlet 仅在本地 Exchange 中有效。
在 Exchange Online 中,此 cmdlet 替换为 Security & Compliance PowerShell 中的 Get-DlpSensitiveInformationType cmdlet。
使用 Get-DataClassification cmdlet 可以查看贵组织的数据分类规则。 此 cmdlet 显示内置的数据分类规则以及你创建的使用文档指纹的规则。
有关以下语法部分的参数设置的详细信息,请参阅 Exchange cmdlet 语法。
语法
RuleCollectionIdentity
Get-DataClassification
[[-ClassificationRuleCollectionIdentity] <ClassificationRuleCollectionIdParameter>]
[-DomainController <Fqdn>]
[<CommonParameters>]
Identity
Get-DataClassification
[[-Identity] <DataClassificationIdParameter>]
[-DomainController <Fqdn>]
[<CommonParameters>]
说明
数据丢失防护 (DLP) 使用分类规则包来检测邮件中的敏感内容。
您必须先获得权限,然后才能运行此 cmdlet。 尽管本文列出了 cmdlet 的所有参数,但如果某些参数未包含在分配给你的权限中,则可能无法访问这些参数。 若要查找在贵组织中运行任何 cmdlet 或参数所需的权限,请参阅 Find the permissions required to run any Exchange cmdlet。
示例
示例 1
Get-DataClassification
本示例返回组织中所有数据分类规则的摘要列表。
示例 2
Get-DataClassification -ClassificationRuleCollectionIdentity "Fingerprint Classification Collection"
本示例返回基于您创建的文档指纹的所有新数据分类规则的摘要列表。
示例 3
Get-DataClassification "SWIFT Code" | Format-List
本示例返回名为 SWIFT 代码的内置数据分类规则的详细信息。
参数
-ClassificationRuleCollectionIdentity
适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019、Exchange Server SE、Exchange Online
ClassificationRuleCollectionIdentity 参数按数据分类规则集合的名称筛选结果。 包含内置数据分类规则的数据分类规则集合的名称为 Microsoft Rule Package。 包含使用文档指纹创建的新数据分类规则的数据分类的名称为 Fingerprint Classification Collection。
参数属性
| 类型: | ClassificationRuleCollectionIdParameter |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
RuleCollectionIdentity
| Position: | 1 |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-DomainController
适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019、Exchange Server SE
DomainController 参数指定此 cmdlet 从 Active Directory 读取数据或向其写入数据时使用的域控制器。 可以使用完全限定的域名 (FQDN) 来标识域控制器。 例如,dc01.contoso.com。
参数属性
| 类型: | Fqdn |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Identity
适用:Exchange Server 2013、Exchange Server 2016、Exchange Server 2019、Exchange Server SE、Exchange Online
Identity 参数指定要查看的数据分类规则。 可以使用任何能够唯一标识该数据分类规则的值。 例如:
- 名称
- LocalizedName
- 标识 GUID 值
参数属性
| 类型: | DataClassificationIdParameter |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
Identity
| Position: | 1 |
| 必需: | False |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。
输入
Input types
若要了解此 cmdlet 接受的输入类型,请参阅 cmdlet 的输入和输出类型。 如果 cmdlet 的"输入类型"字段为空,则表明此 cmdlet 不接受输入数据。
输出
Output types
若要了解此 cmdlet 接受的返回类型(亦称为"输出类型"),请参阅 cmdlet 的输入和输出类型。 如果"输出类型"字段为空,则表明此 cmdlet 不返回任何数据。