Get-AIPScannerConfiguration

Gets the configuration settings for the Azure Information Protection scanner.

Syntax

Get-AIPScannerConfiguration []

Description

The Get-AIPScannerConfiguration cmdlet gets the configuration settings for the Azure Information Protection scanner.

If you run Import-AIPScannerConfiguration, 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.

Examples

Example 1: Gets the configuration for the Azure Information Protection scanner

PS C:\> Get-AIPScannerConfiguration
OnlineConfiguration : On
ReportLevel         : Info
LogLevel            : Trace
Cluster             : contoso-test
SqlInstance         : localhost\sqlexpress
DatabaseName        : AIPScannerUL_contoso-test
Cloud               : Commercial

This command gets the current PowerShell configuration settings for the Azure Information Protection unified labeling scanner.

In this example, the output shows that the scanner is using the default configuration for online configuration, the report level of Info, and a logging level of Trace. The cluster name, SQL instance, and database names are listed, and the cloud type is Commercial.

Inputs

None

Outputs

System.Object