你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Stop-Scan

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

语法

Default (默认值)

Stop-Scan

说明

The Stop-Scan 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 minutes 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 Microsoft Purview Information Protection Scanner service on the scanner machine instead.

输出

System.Object