EventLogTools

5.0.0.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

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

Install-PSResource -Name EventLogTools

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

5.0.0.0
   breaking changes!
   refactor code now that powershell 7.4 can work directly with eventlog cmdlets
   consolidate to just one public function Write-StreamToEventLog
3.2
   update README, inline help
3.1
   add New-PS5EventLog cmdlet
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 (current version) 2,957 3/8/2024
4.0.0.0 1,880 7/28/2022
3.2.2.0 25 7/28/2022
3.2.1 25 7/28/2022
3.2 38 6/28/2022
3.0 60 4/19/2022
2.3 277 1/25/2020
Show more