Answer the question
In order to leave comments, you need to log in
Logging the execution of CMD commands?
The essence of the question is simple - there are N number of PCs on them in the download is a .bat that executes a specific command and writes the result of the command to the log. It is necessary to force the result of not only the execution of the command to be recorded, but also parameters such as "%date% %time% %username% %computername%" for each PC and collect the whole thing in 1 log in a ball that will be on the local network.
Separately, displaying individual logs is not a problem, but putting it all together is a question.
What would be something like this
01/01/2017 00:00 User1 Pc1 command:OK
01/01/2017 00:01 User2 Pc2 command:OK
I think about implementing it like this (primitively):
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question