Gets configuration settings for the Network Discovery service.
The Get-MIPNetworkDiscoveryConfiguration cmdlet gets configuration settings for the Network Discovery service.
The Network Discovery service manages network scan jobs, and enable Azure Information Protection administrators to scan specific IP addresses or ranges for risky repositories. Administrators may want to add these repositories to content scan jobs to scan their content further.
The Get-MIPNetworkDiscoveryConfiguration cmdlet displays only the settings and values that you can configure with Set-MIPNetworkDiscoveryConfiguration cmdlet. This includes only whether the Network Discovery service settings are taken from the online configuration currently in the Azure portal, or from a file that was exported from the Azure portal.
Run Import-MIPNetworkDiscoveryConfiguration to configure the scanner to get Network Discovery service settings from an offline file. When you run Get-MIPNetworkDiscoveryConfiguration after importing settings from a file, the OnlineConfiguration is displayed as Off.
PS C:\> Get-MIPNetworkDiscoveryConfiguration OnlineConfiguration : On
This command gets the current PowerShell configuration settings for the Network Discovery service. In this example, the output shows that the scanner is using the default configuration of using the online configuration from the Azure portal.