This module uses the log4net logging library with an extension to log in the well-known CMTrace format. CMtrace is a Microsoft tool that allows the live viewing, but more importantly merging of different log files based on date and time of the log entries.

Minimum PowerShell version


Installation Options

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

Install-Module -Name OSCCPSLogging

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


Kim Oppalfens


(c) 2017 Kim Oppalfens. All rights reserved.



Initialize-CMLogging out-loginfo out-logwarn out-logerror out-logdebug close-cmlogging


This module has no dependencies.

Version History

Version Downloads Last updated (current version) 4,247 6/8/2018 19 6/7/2018 8 6/7/2018 173 4/12/2018 6 4/12/2018 6 4/12/2018 1,269 3/24/2017 72 2/18/2017 9 2/8/2017