Add Date and Time stamp to powershell exported file
<p>I am new to scripting but at my work place I see that they are storing warnings, errors and notes from logs of different programs under one file using the below command in a batch file:
check_log.bat > tlglogs</p>

<p>PS: If it matters the different logs and the output tlglogs are in the same Windows folder.</p>

<p>I would like to add a date time stamp to the tlglogs each time I run the batch file. Could you please let me know how to proceed as I am not familiar with scripting? I tried the below via Dr. Google's help but it did not help:
check_log.bat >tlglogs_%Date%</p>

<p>Thanks for your time and help. It is highly appreciated!
Cheers!</p>