Skip to content

PowerShell Audit Writer

Overview

The PowerShell audit writer can be used to perform a custom action for audit entries using PowerShell script.

NOTE

View PowerShell in UNIFYConnect for more information on the version of PowerShell used by UNIFYConnect.

Considerations

Depending on the persistence mechanism, a backup or archival process is recommended to ensure that the audit entries do not consume too much disk space.

Configuration

The PowerShell audit writer requires the following by way of configuration:

image

AttributeDescription
NameThe display name of the audit writer which is used for identification throughout UNIFYConnect.
Begin ScriptThe script to execute when the audit writer is created.
Log ScriptThe script to execute to log. The audit entry can be accessed using the $logEntry object.
End ScriptThe script to execute when the audit writer is disposed.