I have a file with usernames in it. File name is users.txt
example:
lintow
djones
aharper
mjordan
I would like to format this like the example here for every username.
I guess it would loop through and format it
any help would be appreciated
DN: CN=test3,OU=test,DC=ces,DC=edu
changetype: add
cn: lintow
givenName: lintow
objectClass: user
samAccountName: lintow
homeDrive: Z:
homeDirectory: \\pibbon\home\%username%
example:
lintow
djones
aharper
mjordan
I would like to format this like the example here for every username.
I guess it would loop through and format it
any help would be appreciated
DN: CN=test3,OU=test,DC=ces,DC=edu
changetype: add
cn: lintow
givenName: lintow
objectClass: user
samAccountName: lintow
homeDrive: Z:
homeDirectory: \\pibbon\home\%username%