Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

import csv rename user account is exists in AD

$
0
0

ok, got an interesting one here. Might be easy i have no idea where to even begin with this one.

If have a web site that generates csv file to import into AD. No problem, works great.

I need to put in a check to see if the user/email account already exists in AD and if they do, append a 1 to the account.

then i want to check that appended account with the 1 to see if that exists, if it does add a 2 and so on until the account doesnt exist, then bam create it.

Has anyone done anything like this before ? Or can someone possibly point me in the right direction as far as coding would go.

I'm kind of a novice but diving in head first here.

Any help is appreciated

Thanks All 


Viewing all articles
Browse latest Browse all 21975

Trending Articles