Remove-AIPScannerRepository

Azure Information Protection 콘텐츠 검색 작업에서 리포지토리를 제거합니다.

Syntax

Remove-AIPScannerRepository
      [-Repositories] <System.Collections.Generic.List`1[Microsoft.InformationProtection.Powershell.AIP.Commandlets.Scanner.MoonCake.RepositoryInfo]>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

포지토리 매개 변수에서 설명하거나 파이프된 Get-AIPScannerRepository cmdlet에서 반환하는 리포지토리를 삭제합니다.

콘텐츠 스캔 작업에 대한 자세한 내용은 Azure Information Protection 온-프레미스 스캐너 설명서를 참조하세요.

예제

예제 1 콘텐츠 검색 작업에 대해 구성된 모든 리포지토리 제거

PS C:\WINDOWS\system32> Get-AIPScannerRepository | Remove-AIPScannerRepository

이 예제에서는 리포지토리가 먼저 반환된 다음 삭제되는 완전히 파이프된 cmdlet을 보여줍니다.

예제 2 콘텐츠 검색 작업에서 특정 리포지토리 제거

PS C:\WINDOWS\system32> Get-AIPScannerRepository -Path 'c:\repoToScan1' | Remove-AIPScannerRepository

이 예제에서는 리포지토리가 먼저 반환된 다음 삭제되는 완전히 파이프된 cmdlet을 보여줍니다.

예제 3 콘텐츠 스캔 작업에서 특정 와일드카드 패턴과 일치하는 리포지토리 제거

PS C:\WINDOWS\system32> Get-AIPScannerRepository -Path 'c:\repo*' | Remove-AIPScannerRepository

이 예제에서는 리포지토리가 먼저 반환된 다음 삭제되는 완전히 파이프된 cmdlet을 보여줍니다.

예제 4 파이핑 없이 콘텐츠 검색 작업에서 특정 리포지토리 제거

PS C:\WINDOWS\system32> $repos = Get-AIPScannerRepository -Path 'c:\repoToScan1'
PS C:\WINDOWS\system32> Remove-AIPScannerRepository $repos

이 예제에서는 리포지토리가 먼저 반환된 다음 삭제되는 완전히 파이프된 cmdlet을 보여줍니다.

매개 변수

-Confirm

cmdlet을 실행하기 전에 확인을 요청합니다.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Repositories

삭제하려는 리포지토리에 대해 설명합니다.

Type:System.Collections.Generic.List`1[Microsoft.InformationProtection.Powershell.AIP.Commandlets.Scanner.MoonCake.RepositoryInfo]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

cmdlet을 실행할 경우 발생하는 일을 표시합니다. cmdlet은 실행되지 않습니다.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

입력

System.Collections.Generic.List`1[[Microsoft.InformationProtection.Powershell.AIP.Commandlets.Scanner.MoonCake.RepositoryInfo, AIP, Version=2.9.0.0, Culture=neutral, PublicKeyToken=null]]

출력

System.Object