DSADD USER

Creates a user account in Active Directory.

dsadd user UserDN [-samid SAMName] [-upn UPN]
[-fn FirstName] [-mi Initial] [-ln LastName]
[-display DisplayName] [-empid EmployeelD]
[-pwd {Password | *}] [-desc Description]
[-memberof Group ...] [-office Office]
[-tel PhoneNumber] [-email EmailAddress]
[-hometel HomePhoneNumber] [-pager PagerNumber]
[-mobile CellPhoneNumber] [-fax FaxNumber]
[-iptel IPPhoneNumber] [-webpg WebPage]
[-title Title] [-dept Department] [-company Company]
[-mgr Manager] [-hmdir HomeDirectory]
[-hmdrv DriveLetter:] [-profile ProfilePath]
[-loscr ScriptPath] [-mustchpwd {yes | no}]
[-canchpwd {yes | no}] [-reversiblepwd {yes | no}]
[-pwdneverexpires {yes | no}] [-acctexpires NumberOfDays] [-disabled {yes | no}] ...

Get Active Directory® Administrator's Pocket Consultant now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.