I am running a batch script to retrieve information from a device. Tieing this up with a separate log file requires accuracy greater than the minute accuracy I can get using time /t.
This question has a method I wasn't aware of using wmic, but that only allows access to time up to 1 second accuracy (technically, you can ask for milliseconds - but the answer is always NULL)