The Get-AIPScannerConfiguration cmdlet gets the configuration settings for the Azure Information Protection scanner.
With the current version of the scanner, configuration settings are configured in the Azure portal so the Get-AIPScannerConfiguration cmdlet displays only the settings and values that you can configure with Set-AIPScannerConfiguration cmdlet. These settings are whether the scanner gets its configuration online or from a file that you export from the Azure portal, and the report level for the locally created reports.
In addition, if you run Import-AIPScannerConfiguration (not supported for the preview version of the scanner from the unified labeling client), this action automatically configures the scanner to get its configuration offline. As a result, when you run this Get-AIPScannerConfiguration cmdlet after importing settings from a file, OnlineConfiguration displays Off.
Example 1: Gets the configuration for the Azure Information Protection scanner
PS C:\> Get-AIPScannerConfiguration OnlineConfiguration : On ReportLevel : Info
This command gets the current PowerShell configuration settings for the Azure Information Protection scanner. In this example, the output shows that the scanner is using the default configuration for online configuration and the report level of information.