@rohitkh01 I would suggest starting this Server Basics video series - since it's very basic stuff - walking you through setting up a domain from the beginning.
@rwoodfolk True that - I can play around with some things and do some testing! If you all work on this and test it out too, let me know - we can work on it together and throw a video or two up!
one might think about applying some logic to the add and put statements. something like
pseudo-logic:
add user if error (i.e. the user exists) then resume next read user info for each attribute (column in .csv) : if user.attribute != datasource.attribute then put user.attribute next attribute (column in .csv)
Perhaps a nice gui wrapper to prompt for the .csv file?
@lhamil64 You would receive errors saying the user objects already exist. I wonder though, if it would input the empty fields though... Hmmm... I will have to test it.
@MrKoolTutorials Did this help you out? I know you were having some minor probs with your script. Let me know when you get your complete script done and working yo!
Hi , I'm totally new to Active directory or you can say Microsoft domain. I want to learn it. from where should I start?
rohitkh01 1 month ago in playlist Server Basics | Windows 2008 Domain Services
@rohitkh01 I would suggest starting this Server Basics video series - since it's very basic stuff - walking you through setting up a domain from the beginning.
PCAddictsLive 1 month ago
It would be nice to know how to update user fields via script, similar to what @lhamil64 questioned.
rwoodfolk 1 month ago
@rwoodfolk True that - I can play around with some things and do some testing! If you all work on this and test it out too, let me know - we can work on it together and throw a video or two up!
PCAddictsLive 1 month ago
one might think about applying some logic to the add and put statements. something like
pseudo-logic:
add user if error (i.e. the user exists) then resume next read user info for each attribute (column in .csv) : if user.attribute != datasource.attribute then put user.attribute next attribute (column in .csv)
Perhaps a nice gui wrapper to prompt for the .csv file?
perhaps logfile output of actions performed?
murrayda2413 1 month ago
@murrayda2413 Very good info bro, thanks for sharing! I agree - For this video I wanted to keep things very simple, and show where to start.
PCAddictsLive 1 month ago
If you ran this script without deleting the users, would it make duplicate users or overwrite the existing ones?
lhamil64 2 months ago
@lhamil64 You would receive errors saying the user objects already exist. I wonder though, if it would input the empty fields though... Hmmm... I will have to test it.
PCAddictsLive 2 months ago
@lhamil64 I just tested it, and yes, you receive errors about the accounts already being in AD, and the additional fields do not get filled in.
PCAddictsLive 2 months ago
Thanks,
MrKoolTutorials 2 months ago
@MrKoolTutorials Did this help you out? I know you were having some minor probs with your script. Let me know when you get your complete script done and working yo!
PCAddictsLive 2 months ago
@PCAddictsLive What does it say the name of the profile path feild is on urs mine doesnt insert.
MrKoolTutorials 2 months ago
@MrKoolTutorials Field*
MrKoolTutorials 2 months ago