Stop-AIPScan

Instructs the Azure Information Protection scanner to stop the currently running scan cycle.

Syntax

Stop-AIPScan

Description

This cmdlet stops an active scan for the current profile.

Stopping an active scan does not pause the scan cycle. Instead, it completely stops and cancels the scan, and shifts all scanners to idle mode until a new scan is requested.

When the new scan starts, it does not continue from the previous scan state, although the new scan does skip all files already scanned.

Note

It may take up to five minute until all scanners receive the stop command.

Tip

If you want to pause a scan and have it start again from the same point, stop the Azure Information Protection Scanner service on the scanner machine instead.

Examples

Example 1: Stop the currently running scan cycle

PS C:\> Stop-AIPScan

Outputs

System.Object