PowerShell Log Writer

Overview

The PowerShell logger can be used to perform a custom action for log entries using PowerShell script.

Considerations

Use of this logger is encouraged in conjunction with a log filter in order to reduce the number of log entries that are sent to the script, as Identity Broker can create a lot of logging information.

Configuration

The PowerShell writer requires the following by way of configuration:


Attribute Description
Name The display name of the log writer which is used for identification throughout Identity Broker.
Begin Script The script to execute when the log writer is created.
Log Script The script to execute to log. The log entry can be accessed using the $logEntry object.
End Script The script to execute when the log writer is disposed.

Is this article helpful for you?