i run a scheduled task that exports a log file each time it runs. the problem is that if i don't change the name of the log file each time the log info is appended to the existing file so i have info from various days in the same file. i want to save the file each day with a date stamp in the file name so it will be easier for me to keep up with them and so i will have a "clean" log file each day. the switch i use in my command line to export the log file is:
so everyday when the program runs the log file is saved:
what do i need to do so that the file will save like this:
We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.
So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other? You don't really want to deal with DFS or a 3rd party solution like Doubletake.
You can use Robocopy from the Windows Server 200…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210 (2 * 3 * 5 * 7) or 2310 (2 * 3 * 5 * 7 * 11).
The larger templa…