This module adds output sinks (destinations) where these sinks can be used by other commands.
Syslog sink
| Function | Description |
|---|---|
| Send-ToHPSyslog | Sends a message to a syslog server |
Windows Event Log sink
| Function | Description |
|---|---|
| Send-ToHPEventLog | Sends a message to an event log |
| Register-HPEventLogSink | Registers a source in an event log |
| Unregister-HPEventLogSink | Unregisters a source registered by the Register-HPEventLogSink command |
Error log entry
| Function | Description |
|---|---|
| Set-HPCMSLLogFormat | Sets the format used by the Write-Log* commands |
| Get-HPCMSLLogFormat | Retrieves the format used by the log commands |
| Write-HPLogError | Writes an 'error' log entry |
| Write-HPLogInfo | Writes an 'informational' log entry |
| Write-HPLogWarning | Writes a 'warning' log entry |