Use the dsmod command to modify the properties of the ad user account, such as user description, office address, telephone number, department, company name, etc.
To run this command on a server that has the Active Directory installed, I created a new "Mod.bat" batch file on the DC and edited it with Notepad as follows:
dsmod user "cn=abc,ou=users,ou=yourcompany,dc=yourdomain,dc=com"-desc "YourCompany IT System Engineer"-office "BJ"- Mobile "13800000000"
The dsmod user command specifies that the user's properties should be modified, and the full DN (distinguish Name) of the user's Active Directory account must be given, and the corresponding account attributes will be specified for each subsequent parameter to complete the modification.
At present, it appears that the new mailbox account and modify the account's properties are in two steps, and is a separate 2 servers running different scripts to achieve, if it can be done in one step of course the best.
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/zs/