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

Uninstall-Scanner

Uninstalls the Windows Server service for the Microsoft Purview Information Protection scanner.

语法

Default (默认值)

Uninstall-Scanner

说明

The Uninstall-Scanner cmdlet uninstalls the Microsoft Purview Information Protection scanner Windows Server service.

To run this command, you must have local Administrator rights for the Windows Server computer and you must restart the computer after running the command to complete the removal process.

This command does not remove the following:

  • Scanner reports, located in %localappdata%\Microsoft\MSIP\Scanner\Reports.

  • The SQL Server database that was created by running the Install-Scanner cmdlet when the Microsoft Purview Information Protection scanner was installed. If this database is no longer required, you must manually remove it.

    The database name for the scanner is AIPScannerUL_<cluster_name>.

示例

Example 1: Uninstall the Microsoft Purview Information Protection Scanner service

PS C:\> Uninstall-Scanner

This command removes the service for the Microsoft Purview Information Protection scanner.

输入

None

输出

System.Object