Starting MongoDB with Powershell and a UTC timestamp dated log file

When starting MongoDB using PowerShell you may want to create a log file at start up.  One technique that is useful is to have the log file use UTC time as the file name such as:
2016-05-01T06.47.18.8487143+01.00.log
Why? So there is no problem with daylight savings time or people in different locations supporting applications being unsure of the correct start/stop times for a process. 
Anyway, it's a very small piece of code and it's on GitHub.  If you see anything wrong, feel free to do what you need..

Comments