This is how to add users though a preconfigured file. the file is not much more than a text document but must end in .ldf. It can be used to import several users at once. The benefit of LDF files is that it can also be used to remove users. CSV files can not do that.
commands used:
ldifde -i -f freshmeat.ldf -k
DN: CN=Stavro Mueller,OU=people,dc=my,dc=domain
changetype: add
CN: Stavro Mueller
objectClass: user
sAMAccountName: smueller
userPrincipalName: smueller@my.domain
givenName: Stavro
sn: Mueller
displayName: Mueller, Stavro
mail: stavro.mueller@my.domain
description: Sales Representative in the USA
title: Sales Representative
department: Sales
company: my domain, ltd
DN: CN=Gag Halfrunt,OU=people,dc=my,dc=domain
changetype: add
CN: Gag Halfrunt
objectClass: user
sAMAccountName: ghalfrunt
userPrincipalName: ghalfrunt@my.domain
givenName: Gag
sn: Halfrunt
displayName: Halfrunt, Gag
mail: gag.halfrunt@my.domain
description: Sales Representative in the Netherlands
title: Sales Representative
department: Sales
company: my domain, ltd