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

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

Install-PSResource -Name BAMCIS.Logging

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

Copyright

(c) 2017 BAMCIS. All rights reserved.

Package Details

Author(s)

  • Michael Haken

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.

FileList

Version History

Version Downloads Last updated
1.0.0.2 (current version) 10,181 10/26/2017
1.0.0.1 590 10/26/2017
1.0.0.0 597 10/26/2017