Uninstall-AIPScanner

Uninstalls the Windows Server service for the Azure Information Protection scanner.

Syntax

Uninstall-AIPScanner []

Description

The Uninstall-AIPScanner cmdlet uninstalls the Windows Server service, Azure Information Protection Scanner. This command does not remove the SQL Server database that was created by running the Install-AIPScanner cmdlet when the Azure Information Protection scanner was installed. If this database is no longer required, you must manually remove it. The default database name for the scanner is AIPScanner_<computer_name> but when you specify a profile name, the database name for the scanner changes to AIPScanner_<profile>.

This command also does not remove the scanner reports located in %localappdata%\Microsoft\MSIP\Scanner\Reports.

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.

The scanner is not currently supported for the Azure Information Protection unified labeling client.

Examples

Example 1: Uninstall the Azure Information Protection Scanner service

PS C:\> Uninstall-AIPScanner

This command removes the service for the Azure Information Protection scanner.

Inputs

None

Outputs

System.Object