EventLogTools

3.0

Takes output from a command and sends to Windows Event Log

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name EventLogTools -RequiredVersion 3.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name EventLogTools -Version 3.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Erik Whitesides

Tags

eventlog

Functions

Write-StreamToEventLog

Dependencies

This module has no dependencies.

Release Notes

3.0
   pass Write-EventLog through powershell.exe in case it is being run from Powershell 7
   place Get-IDFromMessage inside Write-StreamToEventLog
2.3
   increment version to ensure github and psgallery are in sync
2.2
   fix to Stream parameter - specify [Object[]] instead of [String[]] so Entry type is correctly parsed
2.1
   fix to parameter logic
2.0
   remove breakonerror and breakonwarning functionality
   add PROCESS block and specify array on Stream parameter, so externally we do not need a ForEach statement
   AutoID parameter
       builds in support for incrementing the ID or
       generating a 5 digit ID bashed on a MD5 hash of the EntryType + Stream message

FileList

Version History

Version Downloads Last updated
5.0.0.0 1,001 3/8/2024
4.0.0.0 1,877 7/28/2022
3.2.2.0 22 7/28/2022
3.2.1 22 7/28/2022
3.2 35 6/28/2022
3.0 (current version) 57 4/19/2022
2.3 274 1/25/2020
Show less