Share via


Get-AIPScannerContentScanJob

Gets details about an Azure Information Protection content scan job.

Syntax

Get-AIPScannerContentScanJob []

Description

Returns a full list of all the parameters configured for the content scan job.

For more information about content scan jobs, see the Azure Information Protection on-premises scanner documentation.

Examples

Example 1 Content scan job settings defined by 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

This example shows a sample command and response when the content scan job has been configured via PowerShell.

Example 2 Content scan job settings defined by 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

This example shows a sample command and response when the content scan job has been configured by importing a file, or using the Azure portal. In this case, the individual content scan job parameters are not applicable, and do not return values.

Inputs

None

Outputs

System.Object