I’m new to Powershell, and i want to create a small script,
the purpose of the script, is to create a user in AD and fill the attribute editor fields , with the user name login name , for examplele, proxyAddresses username@ttt.org.ususername@nnnnmf.org.us
You did actually. But you forgot to ask a question.
Please keep in mind:
This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.
We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.
And as an aside … what you asked for is a very common and frequently asked task what has been answered already many times. You don’t have to re-invent the wheel. Simply search for examples and adapt them to your particular requirements.