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
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-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
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |