BAMCIS.Logging

1.0.0.2

Contains functions to simplify logging inside PowerShell cmdlets.

Minimum PowerShell version

3.0

Installation Options

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

Install-Module -Name BAMCIS.Logging

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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

Author(s)

Michael Haken

Copyright

(c) 2017 BAMCIS. All rights reserved.

Owners

Tags

Logging CMTrace

Functions

Write-Log Write-CMTraceLog Get-CallerPreference

Dependencies

This module has no dependencies.

Release Notes

*1.0.0.2
Updated the Write-Log cmdlet to inherit the preferences from the caller scope so Verbose and Debug messages will be written.

*1.0.0.1
Updated the Write-Log cmdlet so that errors writing to the log file will show as verbose messages.

*1.0.0.0
Initial Release. This module has been separated from the HostUtilities module to provide a lighter weight module that is more reusable across other modules.

Version History

Version Downloads Last updated
1.0.0.2 (current version) 2,119 10/26/2017
1.0.0.1 3 10/26/2017
1.0.0.0 5 10/26/2017