Академический Документы
Профессиональный Документы
Культура Документы
Dsadd
Agrega tipos de objetos especficos al directorio.
Dsadd es una herramienta de lnea de comandos que est integrada en Windows Server
2008. Est disponible si tiene instalada la funcin de servidor de servicios de dominio
de Active Directory (AD DS). Para utilizar dsadd, debe ejecutar el comando dsadd
desde un smbolo del sistema con privilegios elevados. Para abrir un smbolo del
sistema con privilegios elevados, haga clic en Inicio, haga clic en smbolo del sistemay,
a continuacin, haga clic en Ejecutar como administrador.
Comandos
Comando -Descripcin
SISTEMAS OPERATIVOS 2
dsadd user DNUsuario [-samid nombreSAM] [-upn UPN] [-fn nombre] [-mi inicial] [ln apellidos][-display nombreDescriptivo] [-empid idEmpleado] [-pwd {contrasea *}]
[-desc descripcin] [-memberof grupo ...] [-office oficina] [-tel nmeroDeTelfono] [email correoElectrnico] [-hometel nmeroDeTelfonoParticular] [-pager
nmeroDeLocalizador] [-mobile nmeroDeTelfonoMvil] [-fax nmeroDeFax] [iptel nmeroDeTelfonoIP] [-webpg pginaWeb] [-title cargo] [-dept departamento]
[-company compaa] [-mgr director] [-hmdir directorioPrincipal] [-hmdrv
letraDeUnidad:][-profile rutaDeAccesoDePerfil] [loscrrutaDeAccesoDeSecuenciaDeComandos] [-mustchpwd {yesno}] [-canchpwd
{yes no}] [-reversiblepwd {yes no}] [-pwdneverexpires {yes no}] [-acctexpires
nmeroDeDas] [-disabled {yes o}] [{-s servidor -d dominio}] [-u nombreDeUsuario]
[-p {contrasea
*}] [-q] [{-uc -uco -uci}]
Parameters
Parameter
<UserDN>
Description
Specifies the user principal name of the user that you want to
add, for example, Linda@widgets.contoso.com.
-fn <FirstName>
Specifies the first name of the user that you want to add.
-mi <Initial>
Specifies the middle initial of the user that you want to add.
-ln <LastName>
Specifies the last name of the user that you want to add.
-display
<DisplayName>
Specifies the display name of the user that you want to add.
-empid <EmployeeID> Specifies the employee ID of the user that you want to add.
Specifies that the password for the user be set to Password or
-pwd {<Password>| *} an asterisk (*). If you set the password to *, dsadd prompts you
for a user password.
SISTEMAS OPERATIVOS 2
-desc <Description>
-memberof
<GroupDN>
-office <Office>
Specifies the office location of the user that you want to add.
-tel <PhoneNumbe>r
-email <Email>
Specifies the e-mail address of the user that you want to add.
-hometel
Specifies the home telephone number of the user that you want
<HomePhoneNumber> to add.
-pager <PagerNumber> Specifies the pager number of the user that you want to add.
-mobile
<CellPhoneNumber>
Specifies the cell phone number of the user that you want to
add.
-fax <FaxNumber>
Specifies the fax number of the user that you want to add.
-iptel
<IPPhoneNumber>
Specifies the IP phone number of the user that you want to add.
-webpg <WebPage>
Specifies the Web page URL of the user that you want to add.
-title <Title>
-dept <Department>
-company <Company>
-mgr <ManagerDN>
-hmdir
<HomeDirectory>
Specifies the home directory location of the user that you want
to add. If you specify HomeDirectory as a Universal Naming
Convention (UNC) path, then you must specify a drive letter
for dsadd to map to this path using the -hmdrv parameter.
-hmdrv <DriveLetter> :
-profile <ProfilePath> Specifies the profile path of the user that you want to add.
SISTEMAS OPERATIVOS 2
-loscr <ScriptPath>
Specifies the logon script path of the user that you want to add.
-reversiblepwd {yes |
no}
-acctexpires
<NumberOfDays>
Specifies the number of days from today that the user account
will expire. A value of 0 sets expiration at the end of today. A
positive value sets expiration in the future. A negative value
sets expiration in the past. The value never sets the account to
never expire. For example, a value of 0 implies that the account
expires at the end of today. A value of -5 implies that the
account has already expired 5 days ago and sets an expiration
date in the past. A value of 5 sets the account expiration date for
5 days in the future.
Specifies whether dsadd disables the user account for logon.
The available values are yes or no. For example, the following
command creates a Nicolettep user account in an enabled state:
dsadd user
CN=Nicolettep,CN=Users,DC=Widgets,DC=Contoso,DC=Com
-pwd Password1 -disabled no
{-s <Server> | -d
<Domain>}
-u <UserName>
SISTEMAS OPERATIVOS 2
logged on. You can use any of the following formats to specify
a user name:
-p {<Password> | *}
-q
/?