So, we use Puppet and if you have ever run puppet from a CMD window, any messages outside of what your manifest might do, are written with no date or time stamps.
I start Puppet with start-process and use -RedirectStandardOutput and -RedirectStandardError to direct any of that to log files.
What I would like, outside of Puppet updating their agent to prepend date/time data on their console output, is with Powershell and maybe the get-content -tail and -wait parms, somehow take the tail data and write it to another file and prepend my own date/time in front of what tail gives me.
Anyone ever done anything like this and if so, willing to share?
Powered by IDERA