Get-ScannerContentScan
Microsoft Purview Information Protection スキャナー コンテンツ スキャン ジョブの詳細を取得します。
構文
Default (既定)
Get-ScannerContentScan
説明
コンテンツ・スキャン・ジョブに構成されたすべてのパラメータの完全なリストを返します。
コンテンツ スキャン ジョブの詳細については、 Microsoft Purview Information Protection スキャナーを参照してください。
例
例 1: PowerShell によって定義されたコンテンツ スキャン ジョブの設定
PS C:\WINDOWS\system32> Get-ScannerContentScan
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-ScannerContentScan
Schedule : Manual
DiscoverInformationTypes: PolicyOnly
RecommendedAsAutomatic : False
EnableDlp :
Enforce :
LabelFilesByContent :
RelabelFiles :
AllowLabelDowngrade :
EnforceDefaultLabel :
DefaultLabelType :
DefaultLabelId :
DefaultOwner :
RepositoryOwner :
PreserveFileDetails :
IncludeFileTypes :
ExcludeFileTypes :
Repositories:
c:\repoToScan1
この例では、ファイルをインポートするか、Microsoft Purview コンプライアンス ポータルを使用してコンテンツ スキャン ジョブが構成された場合のサンプル コマンドと応答を示します。 この場合、個々のコンテンツ スキャン ジョブ パラメーターは適用されず、値を返しません。