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.