你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AIPScannerContentScanJob

获取有关 Azure 信息保护内容扫描作业的详细信息。

语法

Get-AIPScannerContentScanJob []

说明

返回为内容扫描作业配置的所有参数的完整列表。

有关内容扫描作业的详细信息,请参阅 Azure 信息保护本地扫描程序文档

示例

示例 1 PowerShell 定义的内容扫描作业设置

PS C:\WINDOWS\system32> Get-AIPScannerContentScanJob

Schedule                : Manual
DiscoverInformationTypes: All
RecommendedAsAutomatic  : False
EnableDlp               : Off
Enforce                 : On
LabelFilesByContent     : On
RelabelFiles            : Off
AllowLabelDowngrade     : Off
EnforceDefaultLabel     : Off
DefaultLabelType        : PolicyDefault
DefaultLabelId          :
DefaultOwner            : Scanner
RepositoryOwner         :
PreserveFileDetails     : On
IncludeFileTypes        :
ExcludeFileTypes        : .lnk,.exe.,.com,.cmd,.bat,.dll,.ini,.sca,.drm,.sys,.cpl,.inf,.drv,.dat,.tmp,.msp,.msi,.pdb,.jar,.ocx,.rtf,.rar,.msg
Repositories:
c:\repoToScan1
c:\repoToScan2

此示例演示通过 PowerShell 配置内容扫描作业时的示例命令和响应。

示例 2 PowerShell 定义的内容扫描作业设置

PS C:\WINDOWS\system32> Get-AIPScannerContentScanJob

Schedule                : Manual
DiscoverInformationTypes: PolicyOnly
RecommendedAsAutomatic  : False
EnableDlp               : 
Enforce                 : 
LabelFilesByContent     : 
RelabelFiles            : 
AllowLabelDowngrade     : 
EnforceDefaultLabel     : 
DefaultLabelType        : 
DefaultLabelId          :
DefaultOwner            : 
RepositoryOwner         :
PreserveFileDetails     : 
IncludeFileTypes        :
ExcludeFileTypes        : 
Repositories:
c:\repoToScan1

此示例演示了通过导入文件或使用Azure 门户配置内容扫描作业时的示例命令和响应。 在这种情况下,单个内容扫描作业参数不适用,并且不返回值。

输入

None

输出

System.Object