Partager via


Get-MDISensorProxyConfiguration

Retrieves the proxy configuration for the Defender for Identity sensor.

Syntax

Get-MDISensorProxyConfiguration []

Description

This function retrieves the proxy configuration for the Defender for Identity sensor. If the sensor configuration can't be read, the function returns $null.

Examples

EXAMPLE 1

Get-MDISensorProxyConfiguration

IsProxyEnabled               : True
IsAuthenticationProxyEnabled : True
Url                          : https://myProxy.contoso.com
UserName                     : CONTOSO\proxyUser
EncryptedUserPasswordData    : PgYTSj0SW6fNx...==
CertificateThumbprint        : A7A60C2841A0104C9E199C786849228C56223E03

This example returns the applied proxy configuration for the Defender for Identity sensor.

Outputs

System.Object

Returns a PSCustomObject representing the proxy configuration for the Defender for Identity sensor. If the sensor configuration can't be read, the function returns $null.