Generating log output using Windows PowerShell

I previously wrote a post in regards to streaming output to a log file synchronously in Windows PowerShell, which was required for a specific reason to lock the file during the script invocation and event message generation. I have since created an advanced function to provide the ability to generate event messages to the console and/or a log file … More Generating log output using Windows PowerShell