GlobalFunctions updated to support WriteOnConsole

The GlobalFunctions PowerShell module has been updated to support writing of log messages to the PowerShell output pipeline.

The GlobalFunctions PowerShell module has been updated to support writing of log messages to the PowerShell output pipeline.