I would like to use powershell to manage my user accounts in AD. I should write a script which will add a new user to AD. Can some one help me to write this script?
-PS would ask user's first name and last name (user name will firstname.lastname)
-PS asks company information and there would be numbers to choose it (1. company A, 2. company B, etc...)
-PS asks group memberships and there is number of roles to choose (so one role could contain multiple AD groups and one user could have multiple roles)
-PS asks which logon script would use and there would be list of numbers to choose again
Thank you very much :)