Get-AIPScannerRepository
取得 Azure 資訊保護內容掃描工作的存放庫資料。
Syntax
Get-AIPScannerRepository
[-Path <String>]
[<CommonParameters>]
Description
取得內容掃描工作設定為掃描的資料存放庫清單。
如需內容掃描工作的詳細資訊,請參閱Azure 資訊保護內部部署掃描器檔。
範例
範例 1 取得內容掃描工作所有存放庫的詳細資料
PS C:\WINDOWS\system32> Get-AIPScannerRepository
Path: c:\repoToScan1
OverrideContentScanJob: : Off
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
Path: c:\repoToScan2
OverrideContentScanJob: : On
EnableDlp: Off
Enforce: Off
LabelFilesByContent: On
RelabelFiles: On
AllowLabelDowngrade: On
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
此範例顯示回應,其中包含針對內容掃描工作設定的所有存放庫。
範例 2 取得內容掃描工作中特定存放庫的詳細資料
PS C:\WINDOWS\system32> Get-AIPScannerRepository -Path 'c:\repoToScan1'
Path: c:\repoToScan1
OverrideContentScanJob: : Off
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
此範例顯示回應,其中包含針對內容掃描工作設定的所有存放庫。
參數
-Path
定義您想要傳回資料之特定存放庫的路徑。
此參數值必須是內容掃描工作中所定義的確切路徑或路徑模式。
不過,此參數也支援 **** 和 ? 萬用字元:
例如:
輸入
-Path c:\repo?
會傳回任何名為 存放庫的存放庫詳細資料,並加上額外的單一字元尾碼,例如 c:\repo1。輸入
-Path c:\repo*
會傳回任何具名 存放庫 的詳細資料,其中包含任何額外的字元作為尾碼,例如 c:\repoToScan。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
輸入
None
輸出
System.Object