PSLog
This function is intended to assist powershell users/developers with logging activities that they would normally use write-log, write-host, write-debug or write-output functions for. It contains a switch to allow for the logging activity to be output to the screen and to the log file.
Install
To install this module copy this to your modules directory and issue the command
Install-module -name PSLog