Sinks

This module adds output sinks (destinations) that can be used by other commands


Syslog sink

Function Description
Send‐ToSyslog Send the output to a syslog server


Windows Event Log sink

Function Description
Send‐ToEventLog Send output to the Windows Event Log
Register‐EventLogSink Register an event log source to be used by Send-ToEventLog
Unregister‐EventLogSink Unregister an event log source registered by RegisterEventLogSink


Error log entry

Function Description
Set‐HPCMSLLogFormat Set the format used by the Write-Log* functions.
Get‐HPCMSLLogFormat Get the format used by the Write-Log* functions.
Write‐LogError Writes a log entry to default output or a specified file.
Write‐LogInfo Writes a log entry to default output or a specified file.
Write‐LogWarning Writes a log entry to default output or a specified file.