I am using *.cmd scripts to add multiple users to an OU on the domain. In order to keep track of the results, I have added code to each line to redirect the output to a log file using the append operator such as follows:
dsadd user {parameters} >> filename.log
However, the system only reports the successes and not the failures - which I am more concerned about, obviously. Your help is greatly appreciated.
dsadd user {parameters} >> filename.log
However, the system only reports the successes and not the failures - which I am more concerned about, obviously. Your help is greatly appreciated.