I will give a short explain why I want to check or an user account exist or not.
I'm working on a high school.
Each year we have new classnumbers
For example, classnumbers can be A1A, W2y, Z1C and more...
It can be that a classnumber still exist in the next year so I don't have to remove it from the usermanager.
If it not exist then I have to add them to the usermanager.
I have a batchfile that add classnumbers to the usermanager but I want to make that easier.
So I want to make a kixtart script what reads the classnumbers from a textfile, checkt or they still exist and if they don't they will be added.
I they exist the only thing that the script has to do is enabling the account and clears the password.