PoShLog is powershell logging module.
PoShLog allows you to log structured event data into console, file and much more places easily.
It is wrapper of great C# logging library Serilog - https://serilog.net/.

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

Minimum PowerShell version


There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name PoShLog -RequiredVersion 2.0.0

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

Install-PSResource -Name PoShLog -Version 2.0.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



(c) 2019 Tomas Bouda. All rights reserved.

Package Details


  • Tomas Bouda


Log Logging Serilog File filelog logfile error-log console event serilog-sink serilog-for-powershell wrapper sinks Windows Linux MacOS


Desktop Core


This module has no dependencies.

Release Notes

Refactored / PS Core support - removed nuget initialization, all packages(.net standard) are now included


Version History

Version Downloads Last updated
2.2.0-preview1 597 8/27/2021
2.1.1 329,934 7/13/2020
2.1.0 60 7/11/2020
2.1.0-preview2 22 6/26/2020
2.1.0-preview1 13 6/22/2020
2.0.0 (current version) 253 3/29/2020
2.0.0-preview2 16 3/22/2020
2.0.0-preview1 14 3/20/2020
1.0.1 96 9/16/2019
1.0.0 46 8/28/2019
Show less