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:

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