PoShLog.Sinks.EventLog is extension module for PoShLog core library - https://www.powershellgallery.com/packages/PoShLog.
It contains sink that writes events to the Windows Event Log.

For documentation check PoShLog wiki - https://github.com/PoShLog/PoShLog/wiki

Minimum PowerShell version


Installation Options

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

Install-Module -Name PoShLog.Sinks.EventLog

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

Install-PSResource -Name PoShLog.Sinks.EventLog

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



(c) 2019 Tomas Bouda. All rights reserved.

Package Details


  • PoShLog.Sinks.EventLog.nuspec
  • PoShLog.Sinks.EventLog.psd1
  • PoShLog.Sinks.EventLog.psm1
  • README.md
  • functions\sinks\Add-SinkEventLog.ps1
  • lib\Microsoft.CSharp.dll
  • lib\Serilog.Sinks.EventLog.dll
  • lib\System.Diagnostics.EventLog.dll
  • lib\System.Dynamic.Runtime.dll
  • lib\System.Linq.dll
  • lib\System.Linq.Expressions.dll
  • lib\System.ObjectModel.dll
  • lib\System.Reflection.Emit.dll
  • lib\System.Reflection.Emit.ILGeneration.dll
  • lib\System.Reflection.Emit.Lightweight.dll
  • lib\System.Reflection.TypeExtensions.dll
  • lib\System.Security.AccessControl.dll
  • lib\System.Security.Permissions.dll
  • lib\System.Security.Principal.Windows.dll
  • lib\System.Text.RegularExpressions.dll
  • lib\System.Threading.dll

Version History

Version Downloads Last updated
1.0.0 (current version) 1,301 7/11/2020
1.0.0-preview2 39 7/10/2020
1.0.0-preview1 42 6/26/2020