Remove-ScannerContentScan
Delete a content scan job.
Syntax
Remove-ScannerContentScan
[-WhatIf]
[-Confirm]
[<CommonParameters>]
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.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object