Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Remove-ScannerContentScan

Delete a content scan job.

Syntax

Default (Default)

Remove-ScannerContentScan
 [-WhatIf]
 [-Confirm]

Description

Deletes an entire Microsoft Purview Information Protection scanner content scan job.

Caution

Deleting the content scan job means that the configured repositories may not be scanned again, unless they are configured for a different content scan job.

For more information about content scan jobs, see the Microsoft Purview Information Protection scanner documentation.

Examples

Example 1

PS C:\> Remove-ScannerContentScan

This command remove the content scan job.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

Inputs

None

Outputs

System.Object

Related Links