Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1114 lines
48 KiB

  1. ;//+-------------------------------------------------------------------------
  2. ;//
  3. ;// Microsoft Windows
  4. ;//
  5. ;// Copyright (C) Microsoft Corporation, 2000 - 2002
  6. ;//
  7. ;// File: usage.mc
  8. ;// Author: wguidry
  9. ;//--------------------------------------------------------------------------
  10. MessageId=1
  11. SymbolicName=USAGE_DSADD_DESCRIPTION
  12. Language=English
  13. Description: This tool's commands add specific types of objects to the
  14. directory. The dsadd commands:
  15. dsadd computer - adds a computer to the directory.
  16. dsadd contact - adds a contact to the directory.
  17. dsadd group - adds a group to the directory.
  18. dsadd ou - adds an organizational unit to the directory.
  19. dsadd user - adds a user to the directory.
  20. dsadd quota - adds a quota specification to a directory partition.
  21. For help on a specific command, type "dsadd <ObjectType> /?" where
  22. <ObjectType> is one of the supported object types shown above.
  23. For example, dsadd ou /?.
  24. .
  25. MessageId=2
  26. SymbolicName=USAGE_DSADD_REMARKS
  27. Language=English
  28. Remarks:
  29. Commas that are not used as separators in distinguished names must be
  30. escaped with the backslash ("\") character
  31. (for example, "CN=Company\, Inc.,CN=Users,DC=microsoft,DC=com").
  32. Backslashes used in distinguished names must be escaped with a backslash
  33. (for example,
  34. "CN=Sales\\ Latin America,OU=Distribution Lists,DC=microsoft,DC=com").
  35. .
  36. MessageId=3
  37. SymbolicName=USAGE_DSADD_SEE_ALSO
  38. Language=English
  39. Directory Service command-line tools help:
  40. dsadd /? - help for adding objects.
  41. dsget /? - help for displaying objects.
  42. dsmod /? - help for modifying objects.
  43. dsmove /? - help for moving objects.
  44. dsquery /? - help for finding objects matching search criteria.
  45. dsrm /? - help for deleting objects.
  46. .
  47. MessageId=4
  48. SymbolicName=USAGE_DSADD_USER_DESCRIPTION
  49. Language=English
  50. Description: Adds a user to the directory.
  51. .
  52. MessageId=5
  53. SymbolicName=USAGE_DSADD_USER_SYNTAX
  54. Language=English
  55. Syntax: dsadd user <UserDN> [-samid <SAMName>] [-upn <UPN>] [-fn <FirstName>]
  56. [-mi <Initial>] [-ln <LastName>] [-display <DisplayName>]
  57. [-empid <EmployeeID>] [-pwd {<Password> | *}] [-desc <Description>]
  58. [-memberof <Group ...>] [-office <Office>] [-tel <Phone#>]
  59. [-email <Email>] [-hometel <HomePhone#>] [-pager <Pager#>]
  60. [-mobile <CellPhone#>] [-fax <Fax#>] [-iptel <IPPhone#>]
  61. [-webpg <WebPage>] [-title <Title>] [-dept <Department>]
  62. [-company <Company>] [-mgr <Manager>] [-hmdir <HomeDir>]
  63. [-hmdrv <DriveLtr:>] [-profile <ProfilePath>] [-loscr <ScriptPath>]
  64. [-mustchpwd {yes | no}] [-canchpwd {yes | no}]
  65. [-reversiblepwd {yes | no}] [-pwdneverexpires {yes | no}]
  66. [-acctexpires <NumDays>] [-disabled {yes | no}]
  67. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  68. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  69. .
  70. MessageId=6
  71. SymbolicName=USAGE_DSADD_USER_PARAMETERS
  72. Language=English
  73. Parameters:
  74. Value Description
  75. <UserDN> Required. Distinguished name (DN) of user to add.
  76. If the target object is omitted, it will be taken
  77. from standard input (stdin).
  78. -samid <SAMName> Set the SAM account name of user to <SAMName>.
  79. If not specified, dsadd will attempt
  80. to create SAM account name using up to
  81. the first 20 characters from the
  82. common name (CN) value of <UserDN>.
  83. -upn <UPN> Set the upn value to <UPN>.
  84. -fn <FirstName> Set user first name to <FirstName>.
  85. -mi <Initial> Set user middle initial to <Initial>.
  86. -ln <LastName> Set user last name to <LastName>.
  87. -display <DisplayName> Set user display name to <DisplayName>.
  88. -empid <EmployeeID> Set user employee ID to <EmployeeID>.
  89. -pwd {<Password> | *} Set user password to <Password>. If *, then you are
  90. prompted for a password.
  91. -desc <Description> Set user description to <Description>.
  92. -memberof <Group ...> Make user a member of one or more groups <Group ...>
  93. -office <Office> Set user office location to <Office>.
  94. -tel <Phone#> Set user telephone# to <Phone#>.
  95. -email <Email> Set user e-mail address to <Email>.
  96. -hometel <HomePhone#> Set user home phone# to <HomePhone#>.
  97. -pager <Pager#> Set user pager# to <Pager#>.
  98. -mobile <CellPhone#> Set user mobile# to <CellPhone#>.
  99. -fax <Fax#> Set user fax# to <Fax#>.
  100. -iptel <IPPhone#> Set user IP phone# to <IPPhone#>.
  101. -webpg <WebPage> Set user web page URL to <WebPage>.
  102. -title <Title> Set user title to <Title>.
  103. -dept <Department> Set user department to <Department>.
  104. -company <Company> Set user company info to <Company>.
  105. -mgr <Manager> Set user's manager to <Manager> (format is DN).
  106. -hmdir <HomeDir> Set user home directory to <HomeDir>. If this is
  107. UNC path, then a drive letter that will be mapped to
  108. this path must also be specified through -hmdrv.
  109. -hmdrv <DriveLtr:> Set user home drive letter to <DriveLtr:>
  110. -profile <ProfilePath> Set user's profile path to <ProfilePath>.
  111. -loscr <ScriptPath> Set user's logon script path to <ScriptPath>.
  112. -mustchpwd {yes | no} User must change password at next logon or not.
  113. Default: no.
  114. -canchpwd {yes | no} User can change password or not. This should be
  115. "yes" if the -mustchpwd is "yes". Default: yes.
  116. -reversiblepwd {yes | no}
  117. Store user password using reversible encryption or
  118. not. Default: no.
  119. -pwdneverexpires {yes | no}
  120. User password never expires or not. Default: no.
  121. -acctexpires <NumDays> Set user account to expire in <NumDays> days from
  122. today. A value of 0 implies account expires
  123. at the end of today; a positive value
  124. implies the account expires in the future;
  125. a negative value implies the account already expired
  126. and sets an expiration date in the past;
  127. the string value "never" implies that the
  128. account never expires.
  129. -disabled {yes | no} User account is disabled or not. Default: no.
  130. {-s <Server> | -d <Domain>}
  131. -s <Server> connects to the domain controller (DC)
  132. with name <Server>.
  133. -d <Domain> connects to a DC in domain <Domain>.
  134. Default: a DC in the logon domain.
  135. -u <UserName> Connect as <UserName>. Default: the logged in user.
  136. User name can be: user name, domain\user name,
  137. or user principal name (UPN).
  138. -p {<Password> | *} Password for the user <UserName>. If * is entered,
  139. then you are prompted for a password.
  140. -q Quiet mode: suppress all output to standard output.
  141. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  142. formatted in Unicode.
  143. -uco Specifies that output to pipe or file is
  144. formatted in Unicode.
  145. -uci Specifies that input from pipe or file is
  146. formatted in Unicode.
  147. .
  148. MessageId=7
  149. SymbolicName=USAGE_DSADD_USER_REMARKS
  150. Language=English
  151. Remarks:
  152. If you do not supply a target object at the command prompt, the target
  153. object is obtained from standard input (stdin). Stdin data can be
  154. accepted from the keyboard, a redirected file, or as piped output from
  155. another command. To mark the end of stdin data from the keyboard or
  156. in a redirected file, use Control+Z, for End of File (EOF).
  157. If a value that you supply contains spaces, use quotation marks
  158. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  159. If you enter multiple values, the values must be separated by spaces
  160. (for example, a list of distinguished names).
  161. The special token $username$ (case insensitive) may be used to place the SAM
  162. account name in the value of a parameter. For example, if the target user DN
  163. is CN=Jane Doe,CN=users,CN=microsoft,CN=com and the SAM account name
  164. attribute is "janed," the -hmdir parameter can have
  165. the following substitution:
  166. -hmdir \users\$username$\home
  167. The value of the -hmdir parameter is modified to the following value:
  168. - hmdir \users\janed\home
  169. .
  170. MessageId=8
  171. SymbolicName=USAGE_DSADD_USER_SEE_ALSO
  172. Language=English
  173. See also:
  174. dsadd computer /? - help for adding a computer to the directory.
  175. dsadd contact /? - help for adding a contact to the directory.
  176. dsadd group /? - help for adding a group to the directory.
  177. dsadd ou /? - help for adding an organizational unit to the directory.
  178. dsadd user /? - help for adding a user to the directory.
  179. dsadd quota /? - help for adding a quota to the directory.
  180. Directory Service command-line tools help:
  181. dsadd /? - help for adding objects.
  182. dsget /? - help for displaying objects.
  183. dsmod /? - help for modifying objects.
  184. dsmove /? - help for moving objects.
  185. dsquery /? - help for finding objects matching search criteria.
  186. dsrm /? - help for deleting objects.
  187. .
  188. MessageId=9
  189. SymbolicName=USAGE_DSADD_COMPUTER_DESCRIPTION
  190. Language=English
  191. Description: Adds a computer to the directory.
  192. .
  193. MessageId=10
  194. SymbolicName=USAGE_DSADD_COMPUTER_SYNTAX
  195. Language=English
  196. Syntax: dsadd computer <ComputerDN> [-samid <SAMName>] [-desc <Description>]
  197. [-loc <Location>] [-memberof <Group ...>]
  198. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  199. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  200. .
  201. MessageId=11
  202. SymbolicName=USAGE_DSADD_COMPUTER_PARAMETERS
  203. Language=English
  204. Parameters:
  205. Value Description
  206. <ComputerDN> Required. Specifies the distinguished name (DN) of
  207. the computer you want to add.
  208. If the target object is omitted, it will be taken
  209. from standard input (stdin).
  210. -samid <SAMName> Sets the computer SAM account name to <SAMName>.
  211. If this parameter is not specified, then a
  212. SAM account name is derived from the value of
  213. the common name (CN) attribute used in <ComputerDN>.
  214. -desc <Description> Sets the computer description to <Description>.
  215. -loc <Location> Sets the computer location to <Location>.
  216. -memberof <Group ...> Makes the computer a member of one or more groups
  217. given by the space-separated list of DNs <Group ...>.
  218. {-s <Server> | -d <Domain>}
  219. -s <Server> connects to the domain controller (DC)
  220. with name <Server>.
  221. -d <Domain> connects to a DC in domain <Domain>.
  222. Default: a DC in the logon domain.
  223. -u <UserName> Connect as <UserName>. Default: the logged in user.
  224. User name can be: user name, domain\user name,
  225. or user principal name (UPN).
  226. -p {<Password> | *}
  227. Password for the user <UserName>. If * is entered
  228. then you are prompted for a password.
  229. -q Quiet mode: suppress all output to standard output.
  230. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  231. formatted in Unicode.
  232. -uco Specifies that output to pipe or file is
  233. formatted in Unicode.
  234. -uci Specifies that input from pipe or file is
  235. formatted in Unicode.
  236. .
  237. MessageId=12
  238. SymbolicName=USAGE_DSADD_COMPUTER_REMARKS
  239. Language=English
  240. Remarks:
  241. If you do not supply a target object at the command prompt, the target
  242. object is obtained from standard input (stdin). Stdin data can be
  243. accepted from the keyboard, a redirected file, or as piped output from
  244. another command. To mark the end of stdin data from the keyboard or
  245. in a redirected file, use Control+Z, for End of File (EOF).
  246. If a value that you supply contains spaces, use quotation marks
  247. around the text (for example,
  248. "CN=DC2,OU=Domain Controllers,DC=microsoft,DC=com").
  249. If you enter multiple values, the values must be separated by spaces
  250. (for example, a list of computer distinguished names).
  251. .
  252. MessageId=13
  253. SymbolicName=USAGE_DSADD_COMPUTER_SEE_ALSO
  254. Language=English
  255. See also:
  256. dsadd computer /? - help for adding a computer to the directory.
  257. dsadd contact /? - help for adding a contact to the directory.
  258. dsadd group /? - help for adding a group to the directory.
  259. dsadd ou /? - help for adding an organizational unit to the directory.
  260. dsadd user /? - help for adding a user to the directory.
  261. dsadd quota /? - help for adding a quota to the directory.
  262. Directory Service command-line tools help:
  263. dsadd /? - help for adding objects.
  264. dsget /? - help for displaying objects.
  265. dsmod /? - help for modifying objects.
  266. dsmove /? - help for moving objects.
  267. dsquery /? - help for finding objects matching search criteria.
  268. dsrm /? - help for deleting objects.
  269. .
  270. MessageId=14
  271. SymbolicName=USAGE_DSADD_GROUP_DESCRIPTION
  272. Language=English
  273. Description: Adds a group to the directory.
  274. .
  275. MessageId=15
  276. SymbolicName=USAGE_DSADD_GROUP_SYNTAX
  277. Language=English
  278. Syntax: dsadd group <GroupDN> [-secgrp {yes | no}] [-scope {l | g | u}]
  279. [-samid <SAMName>] [-desc <Description>] [-memberof <Group ...>]
  280. [-members <Member ...>] [{-s <Server> | -d <Domain>}] [-u <UserName>]
  281. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  282. .
  283. MessageId=16
  284. SymbolicName=USAGE_DSADD_GROUP_PARAMETERS
  285. Language=English
  286. Parameters:
  287. Value Description
  288. <GroupDN> Required. Distinguished name (DN) of group to add.
  289. If the target object is omitted, it will be taken
  290. from standard input (stdin).
  291. -secgrp {yes | no} Sets this group as a security group (yes) or not (no).
  292. Default: yes.
  293. -scope {l | g | u} Sets the scope of this group: local, global
  294. or universal. If the domain is still in mixed-mode,
  295. then the universal scope is not supported.
  296. Default: global.
  297. -samid <SAMName> Set the SAM account name of group to <SAMName>
  298. (for example, operators).
  299. -desc <Description> Sets group description to <Description>.
  300. -memberof <Group ...> Makes the group a member of one or more groups
  301. given by the space-separated list of DNs <Group ...>.
  302. -members <Member ...> Adds one or more members to this group. Members are
  303. set by space-separated list of DNs <Member ...>.
  304. {-s <Server> | -d <Domain>}
  305. -s <Server> connects to the domain controller (DC)
  306. with name <Server>.
  307. -d <Domain> connects to a DC in domain <Domain>.
  308. Default: a DC in the logon domain.
  309. -u <UserName> Connect as <UserName>. Default: the logged in user.
  310. User name can be: user name, domain\user name,
  311. or user principal name (UPN).
  312. -p {<Password> | *} Password for the user <UserName>. If * is entered,
  313. then you are prompted for a password.
  314. -q Quiet mode: suppress all output to standard output.
  315. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  316. formatted in Unicode.
  317. -uco Specifies that output to pipe or file is
  318. formatted in Unicode.
  319. -uci Specifies that input from pipe or file is
  320. formatted in Unicode.
  321. .
  322. MessageId=17
  323. SymbolicName=USAGE_DSADD_GROUP_REMARKS
  324. Language=English
  325. Remarks:
  326. If you do not supply a target object at the command prompt, the target
  327. object is obtained from standard input (stdin). Stdin data can be
  328. accepted from the keyboard, a redirected file, or as piped output from
  329. another command. To mark the end of stdin data from the keyboard or
  330. in a redirected file, use Control+Z, for End of File (EOF).
  331. If a value that you supply contains spaces, use quotation marks
  332. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  333. If you enter multiple values, the values must be separated by spaces
  334. (for example, a list of group distinguished names).
  335. .
  336. MessageId=18
  337. SymbolicName=USAGE_DSADD_GROUP_SEE_ALSO
  338. Language=English
  339. See also:
  340. dsadd computer /? - help for adding a computer to the directory.
  341. dsadd contact /? - help for adding a contact to the directory.
  342. dsadd group /? - help for adding a group to the directory.
  343. dsadd ou /? - help for adding an organizational unit to the directory.
  344. dsadd user /? - help for adding a user to the directory.
  345. dsadd quota /? - help for adding a quota to the directory.
  346. Directory Service command-line tools help:
  347. dsadd /? - help for adding objects.
  348. dsget /? - help for displaying objects.
  349. dsmod /? - help for modifying objects.
  350. dsmove /? - help for moving objects.
  351. dsquery /? - help for finding objects matching search criteria.
  352. dsrm /? - help for deleting objects.
  353. .
  354. MessageId=19
  355. SymbolicName=USAGE_DSADD_OU_DESCRIPTION
  356. Language=English
  357. Description: Adds an organizational unit to the directory
  358. .
  359. MessageId=20
  360. SymbolicName=USAGE_DSADD_OU_SYNTAX
  361. Language=English
  362. Syntax: dsadd ou <OrganizationalUnitDN> [-desc <Description>]
  363. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  364. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  365. .
  366. MessageId=21
  367. SymbolicName=USAGE_DSADD_OU_PARAMETERS
  368. Language=English
  369. Parameters:
  370. Value Description
  371. <OrganizationalUnitDN> Required. Distinguished name (DN)
  372. of the organizational unit (OU) to add.
  373. If the target object is omitted, it will be taken
  374. from standard input (stdin).
  375. -desc <Description> Set the OU description to <Description>.
  376. {-s <Server> | -d <Domain>}
  377. -s <Server> connects to the domain controller (DC)
  378. with name <Server>.
  379. -d <Domain> connects to a DC in domain <Domain>.
  380. Default: a DC in the logon domain.
  381. -u <UserName> Connect as <UserName>. Default: the logged in user.
  382. User name can be: user name, domain\user name,
  383. or user principal name (UPN).
  384. -p {<Password> | *}
  385. Password for the user <UserName>. If * is entered
  386. then you are prompted for a password.
  387. -q Quiet mode: suppress all output to standard output.
  388. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  389. formatted in Unicode.
  390. -uco Specifies that output to pipe or file is
  391. formatted in Unicode.
  392. -uci Specifies that input from pipe or file is
  393. formatted in Unicode.
  394. .
  395. MessageId=22
  396. SymbolicName=USAGE_DSADD_OU_REMARKS
  397. Language=English
  398. Remarks:
  399. If you do not supply a target object at the command prompt, the target
  400. object is obtained from standard input (stdin). Stdin data can be
  401. accepted from the keyboard, a redirected file, or as piped output from
  402. another command. To mark the end of stdin data from the keyboard or
  403. in a redirected file, use Control+Z, for End of File (EOF).
  404. If a value that you supply contains spaces, use quotation marks
  405. around the text (for example, "OU=Domain Controllers,DC=microsoft,DC=com").
  406. .
  407. MessageId=23
  408. SymbolicName=USAGE_DSADD_OU_SEE_ALSO
  409. Language=English
  410. See also:
  411. dsadd computer /? - help for adding a computer to the directory.
  412. dsadd contact /? - help for adding a contact to the directory.
  413. dsadd group /? - help for adding a group to the directory.
  414. dsadd ou /? - help for adding an organizational unit to the directory.
  415. dsadd user /? - help for adding a user to the directory.
  416. dsadd quota /? - help for adding a quota to the directory.
  417. Directory Service command-line tools help:
  418. dsadd /? - help for adding objects.
  419. dsget /? - help for displaying objects.
  420. dsmod /? - help for modifying objects.
  421. dsmove /? - help for moving objects.
  422. dsquery /? - help for finding objects matching search criteria.
  423. dsrm /? - help for deleting objects.
  424. .
  425. MessageId=24
  426. SymbolicName=USAGE_DSADD_CONTACT_DESCRIPTION
  427. Language=English
  428. Description: Adds a contact to the directory.
  429. Syntax: dsadd contact <ContactDN> [-fn <FirstName>] [-mi <Initial>]
  430. [-ln <LastName>] [-display <DisplayName>] [-desc <Description>]
  431. [-office <Office>] [-tel <Phone#>] [-email <Email>]
  432. [-hometel <HomePhone#>] [-pager <Pager#>] [-mobile <CellPhone#>]
  433. [-fax <Fax#>] [-iptel <IPPhone#>] [-title <Title>]
  434. [-dept <Department>] [-company <Company>]
  435. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  436. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  437. .
  438. MessageId=25
  439. SymbolicName=USAGE_DSADD_CONTACT_SYNTAX
  440. Language=English
  441. Parameters:
  442. Value Description
  443. <ContactDN> Required. Distinguished name (DN) of contact to add.
  444. If the target object is omitted, it will be taken
  445. from standard input (stdin).
  446. -fn <FirstName> Sets contact first name to <FirstName>.
  447. -mi <Initial> Sets contact middle initial to <Initial>.
  448. -ln <LastName> Sets contact last name to <LastName>.
  449. -display <DisplayName> Sets contact display name to <DisplayName>.
  450. -desc <Description> Sets contact description to <Description>.
  451. -office <Office> Sets contact office location to <Office>.
  452. -tel <Phone#> Sets contact telephone# to <Phone#>.
  453. -email <Email> Sets contact e-mail address to <Email>.
  454. -hometel <HomePhone#> Sets contact home phone# to <HomePhone#>.
  455. -pager <Pager#> Sets contact pager# to <Pager#>.
  456. -mobile <CellPhone#> Sets contact mobile# to <CellPhone#>.
  457. -fax <Fax#> Sets contact fax# to <Fax#>.
  458. -iptel <IPPhone#> Sets contact IP phone# to <IPPhone#>.
  459. -title <Title> Sets contact title to <Title>.
  460. -dept <Department> Sets contact department to <Department>.
  461. -company <Company> Sets contact company info to <Company>.
  462. {-s <Server> | -d <Domain>}
  463. -s <Server> connects to the domain controller (DC)
  464. with name <Server>.
  465. -d <Domain> connects to a DC in domain <Domain>.
  466. Default: a DC in the logon domain.
  467. -u <UserName> Connect as <UserName>. Default: the logged in user.
  468. User name can be: user name, domain\user name,
  469. or user principal name (UPN).
  470. -p {<Password> | *}
  471. Password for the user <UserName>. If * is entered
  472. then you are prompted for a password.
  473. -q Quiet mode: suppress all output to standard output.
  474. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  475. formatted in Unicode.
  476. -uco Specifies that output to pipe or file is
  477. formatted in Unicode.
  478. -uci Specifies that input from pipe or file is
  479. formatted in Unicode.
  480. .
  481. MessageId=26
  482. SymbolicName=USAGE_DSADD_CONTACT_REMARKS
  483. Language=English
  484. Remarks:
  485. If you do not supply a target object at the command prompt, the target
  486. object is obtained from standard input (stdin). Stdin data can be
  487. accepted from the keyboard, a redirected file, or as piped output from
  488. another command. To mark the end of stdin data from the keyboard or
  489. in a redirected file, use Control+Z, for End of File (EOF).
  490. If a value that you supply contains spaces, use quotation marks
  491. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  492. .
  493. MessageId=27
  494. SymbolicName=USAGE_DSADD_CONTACT_SEE_ALSO
  495. Language=English
  496. See also:
  497. dsadd computer /? - help for adding a computer to the directory.
  498. dsadd contact /? - help for adding a contact to the directory.
  499. dsadd group /? - help for adding a group to the directory.
  500. dsadd ou /? - help for adding an organizational unit to the directory.
  501. dsadd user /? - help for adding a user to the directory.
  502. dsadd quota /? - help for adding a quota to the directory.
  503. Directory Service command-line tools help:
  504. dsadd /? - help for adding objects.
  505. dsget /? - help for displaying objects.
  506. dsmod /? - help for modifying objects.
  507. dsmove /? - help for moving objects.
  508. dsquery /? - help for finding objects matching search criteria.
  509. dsrm /? - help for deleting objects.
  510. .
  511. MessageId=28
  512. SymbolicName=USAGE_DSADD_SUBNET_DESCRIPTION
  513. Language=English
  514. Description: Adds a subnet to the directory.
  515. .
  516. MessageId=29
  517. SymbolicName=USAGE_DSADD_SUBNET_SYNTAX
  518. Language=English
  519. Syntax: dsadd subnet -addr <IPaddress> -mask <NetMask> [-site <SiteName>]
  520. [-desc <Description>] [-loc <Location>] [{-s <Server> | -d <Domain>}]
  521. [-u <UserName>] [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  522. .
  523. MessageId=30
  524. SymbolicName=USAGE_DSADD_SUBNET_PARAMETERS
  525. Language=English
  526. Parameters:
  527. Value Description
  528. -addr <IPaddress> Required. Set network address of the subnet to
  529. <IPaddress>.
  530. -mask <NetMask> Required. Set subnet mask of the subnet to <NetMask>.
  531. -site <SiteName> Make the subnet associated with site <SiteName>.
  532. Default: "Default-First-Site-Name".
  533. -desc <Description> Set the subnet object's description to <Description>.
  534. -loc <Location> Set the subnet object's location to <Location>.
  535. {-s <Server> | -d <Domain>}
  536. -s <Server> connects to the domain controller (DC)
  537. with name <Server>.
  538. -d <Domain> connects to a DC in domain <Domain>.
  539. Default: a DC in the logon domain.
  540. -u <UserName> Connect as <UserName>. Default: the logged in user.
  541. User name can be: user name, domain\user name,
  542. or user principal name (UPN).
  543. -p {<Password> | *}
  544. Password for the user <UserName>. If * is entered
  545. then you are prompted for a password.
  546. -q Quiet mode: suppress all output to standard output.
  547. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  548. formatted in Unicode.
  549. -uco Specifies that output to pipe or file is
  550. formatted in Unicode.
  551. -uci Specifies that input from pipe or file is
  552. formatted in Unicode.
  553. .
  554. MessageId=31
  555. SymbolicName=USAGE_DSADD_SUBNET_REMARKS
  556. Language=English
  557. Remarks:
  558. If you do not supply a target object at the command prompt, the target
  559. object is obtained from standard input (stdin). Stdin data can be
  560. accepted from the keyboard, a redirected file, or as piped output from
  561. another command. To mark the end of stdin data from the keyboard or
  562. in a redirected file, use Control+Z, for End of File (EOF).
  563. If a value that you supply contains spaces, use quotation marks
  564. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  565. .
  566. MessageId=32
  567. SymbolicName=USAGE_DSADD_SUBNET_SEE_ALSO
  568. Language=English
  569. See also:
  570. dsadd computer /? - help for adding a computer to the directory.
  571. dsadd contact /? - help for adding a contact to the directory.
  572. dsadd group /? - help for adding a group to the directory.
  573. dsadd ou /? - help for adding an organizational unit to the directory.
  574. dsadd user /? - help for adding a user to the directory.
  575. dsadd quota /? - help for adding a quota to the directory.
  576. Directory Service command-line tools help:
  577. dsadd /? - help for adding objects.
  578. dsget /? - help for displaying objects.
  579. dsmod /? - help for modifying objects.
  580. dsmove /? - help for moving objects.
  581. dsquery /? - help for finding objects matching search criteria.
  582. dsrm /? - help for deleting objects.
  583. .
  584. MessageId=33
  585. SymbolicName=USAGE_DSADD_SITE_DESCRIPTION
  586. Language=English
  587. Description: Adds a site to the directory.
  588. .
  589. MessageId=34
  590. SymbolicName=USAGE_DSADD_SITE_SYNTAX
  591. Language=English
  592. Syntax: dsadd site <SiteName> [-slink <SitelinkName>]
  593. [-transport {ip | smtp}] [-desc <Description>]
  594. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  595. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  596. .
  597. MessageId=35
  598. SymbolicName=USAGE_DSADD_SITE_PARAMETERS
  599. Language=English
  600. Parameters:
  601. Value Description
  602. <SiteName> Required. Common name (CN) of the site to add
  603. (for example, New-York).
  604. If the target object is omitted, it will be taken
  605. from standard input (stdin).
  606. -slink <SitelinkName> Set the site link for the site to <SitelinkName>.
  607. Default: DefaulttIPSitelink.
  608. -transport {ip | smtp} Site link type (IP or SMTP). Default: IP.
  609. -desc <Description> Set the site description to <Description>.
  610. {-s <Server> | -d <Domain>}
  611. -s <Server> connects to the domain controller
  612. (DC) with name <Server>.
  613. -d <Domain> connects to a DC in domain <Domain>.
  614. Default: a DC in the logon domain.
  615. -u <UserName> Connect as <UserName>. Default: the logged in user.
  616. User name can be: user name, domain\user name,
  617. or user principal name (UPN).
  618. -p {<Password> | *} Password for the user <UserName>.
  619. If * is entered, then you are prompted for a
  620. password.
  621. -q Quiet mode: suppress all output to standard output.
  622. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  623. formatted in Unicode.
  624. -uco Specifies that output to pipe or file is
  625. formatted in Unicode.
  626. -uci Specifies that input from pipe or file is
  627. formatted in Unicode.
  628. .
  629. MessageId=36
  630. SymbolicName=USAGE_DSADD_SITE_REMARKS
  631. Language=English
  632. Remarks:
  633. If you do not supply a target object at the command prompt, the target
  634. object is obtained from standard input (stdin). Stdin data can be
  635. accepted from the keyboard, a redirected file, or as piped output from
  636. another command. To mark the end of stdin data from the keyboard or
  637. in a redirected file, use Control+Z, for End of File (EOF).
  638. If a value that you supply contains spaces, use quotation marks
  639. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  640. .
  641. MessageId=37
  642. SymbolicName=USAGE_DSADD_SITE_SEE_ALSO
  643. Language=English
  644. See also:
  645. dsadd computer /? - help for adding a computer to the directory.
  646. dsadd contact /? - help for adding a contact to the directory.
  647. dsadd group /? - help for adding a group to the directory.
  648. dsadd ou /? - help for adding an organizational unit to the directory.
  649. dsadd user /? - help for adding a user to the directory.
  650. dsadd quota /? - help for adding a quota to the directory.
  651. Directory Service command-line tools help:
  652. dsadd /? - help for adding objects.
  653. dsget /? - help for displaying objects.
  654. dsmod /? - help for modifying objects.
  655. dsmove /? - help for moving objects.
  656. dsquery /? - help for finding objects matching search criteria.
  657. dsrm /? - help for deleting objects.
  658. .
  659. MessageId=38
  660. SymbolicName=USAGE_DSADD_SLINK_DESCRIPTION
  661. Language=English
  662. Description: Adds a sitelink to the directory.
  663. .
  664. MessageId=39
  665. SymbolicName=USAGE_DSADD_SLINK_SYNTAX
  666. Language=English
  667. Syntax: dsadd slink <SiteLinkName> <SiteName ...> [-transport {ip | smtp}]
  668. [-cost <Cost>] [-replint <ReplInterval>] [-desc <Description>]
  669. [-autobacksync {yes | no}] [-notify {yes | no}]
  670. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  671. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  672. .
  673. MessageId=40
  674. SymbolicName=USAGE_DSADD_SLINK_PARAMETERS
  675. Language=English
  676. Parameters:
  677. Value Description
  678. <SiteLinkName> Required. Common name (CN) of the sitelink to add.
  679. If the target object is omitted, it will be taken
  680. from standard input (stdin).
  681. <SiteName ...> Required/stdin. Names of two or more sites to add to
  682. the sitelink. If names are omitted they will be taken
  683. from standard input (stdin) to support piping of
  684. output from another command as input of this command.
  685. -transport {ip | smtp} Sets site link transport type (IP or SMTP).
  686. Default: IP.
  687. -cost <Cost> Sets the cost for the sitelink to the value <Cost>.
  688. Default: 100.
  689. -replint <ReplInterval> Sets replication interval for the sitelink to
  690. <ReplInterval> minutes. Default: 180.
  691. -desc <Description> Sets the sitelink description to <Description>.
  692. -autobacksync {yes | no}
  693. Sets whether the two-way sync option should be turned
  694. on (yes) or not (no). Default: no.
  695. -notify {yes | no} Set if notification by source on this link should
  696. be turned on (yes) or off (no). Default: no.
  697. {-s <Server> | -d <Domain>}
  698. -s <Server> connects to the domain controller (DC)
  699. with name <Server>.
  700. -d <Domain> connects to a DC in domain <Domain>.
  701. Default: a DC in the logon domain.
  702. -u <UserName> Connect as <UserName>. Default: the logged in user.
  703. User name can be: user name, domain\user name,
  704. or user principal name (UPN).
  705. -p {<Password> | *}
  706. Password for the user <UserName>. If * is entered
  707. then you are prompted for a password.
  708. -q Quiet mode: suppress all output to standard output.
  709. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  710. formatted in Unicode.
  711. -uco Specifies that output to pipe or file is
  712. formatted in Unicode.
  713. -uci Specifies that input from pipe or file is
  714. formatted in Unicode.
  715. .
  716. MessageId=41
  717. SymbolicName=USAGE_DSADD_SLINK_REMARKS
  718. Language=English
  719. Remarks:
  720. If you do not supply a target object at the command prompt, the target
  721. object is obtained from standard input (stdin). Stdin data can be
  722. accepted from the keyboard, a redirected file, or as piped output from
  723. another command. To mark the end of stdin data from the keyboard or
  724. in a redirected file, use Control+Z, for End of File (EOF).
  725. If a value that you supply contains spaces, use quotation marks
  726. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  727. If you enter multiple values, the values must be separated by spaces
  728. (for example, a list of distinguished names).
  729. .
  730. MessageId=42
  731. SymbolicName=USAGE_DSADD_SLINK_SEE_ALSO
  732. Language=English
  733. See also:
  734. dsadd computer /? - help for adding a computer to the directory.
  735. dsadd contact /? - help for adding a contact to the directory.
  736. dsadd group /? - help for adding a group to the directory.
  737. dsadd ou /? - help for adding an organizational unit to the directory.
  738. dsadd user /? - help for adding a user to the directory.
  739. Directory Service command-line tools help:
  740. dsadd /? - help for adding objects.
  741. dsget /? - help for displaying objects.
  742. dsmod /? - help for modifying objects.
  743. dsmove /? - help for moving objects.
  744. dsquery /? - help for finding objects matching search criteria.
  745. dsrm /? - help for deleting objects.
  746. .
  747. MessageId=43
  748. SymbolicName=USAGE_DSADD_SLINKBR_DESCRIPTION
  749. Language=English
  750. Description: Adds a sitelink bridge to the directory.
  751. .
  752. MessageId=44
  753. SymbolicName=USAGE_DSADD_SLINKBR_SYNTAX
  754. Language=English
  755. Syntax: dsadd slinkbr <SiteLinkBridgeName> <SitelinkName ...>
  756. [-transport {ip | smtp}] [-desc <Description>]
  757. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  758. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  759. .
  760. MessageId=45
  761. SymbolicName=USAGE_DSADD_SLINKBR_PARAMETERS
  762. Language=English
  763. Parameters:
  764. Value Description
  765. <SiteLinkBridgeName> Required. Common name (CN) of the sitelink bridge to
  766. add.
  767. If the target object is omitted, it will be taken
  768. from standard input (stdin).
  769. <SitelinkName ...> Required/stdin. Names of two or more site links to
  770. add to the sitelink bridge. If names are omitted
  771. they will be taken from standard input (stdin) to
  772. support piping of output from another command as
  773. input of this command.
  774. -transport {ip | smtp} Site link transport type: IP or SMTP. Default: IP.
  775. -desc <Description> Set the sitelink bridge description to <Description>.
  776. {-s <Server> | -d <Domain>}
  777. -s <Server> connects to the domain controller (DC)
  778. with name <Server>.
  779. -d <Domain> connects to a DC in domain <Domain>.
  780. Default: a DC in the logon domain.
  781. -u <UserName> Connect as <UserName>. Default: the logged in user.
  782. User name can be: user name, domain\user name,
  783. or user principal name (UPN).
  784. -p {<Password> | *} Password for the user <UserName>.
  785. If * is entered, then you are prompted for a
  786. password.
  787. -q Quiet mode: suppress all output to standard output.
  788. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  789. formatted in Unicode.
  790. -uco Specifies that output to pipe or file is
  791. formatted in Unicode.
  792. -uci Specifies that input from pipe or file is
  793. formatted in Unicode.
  794. .
  795. MessageId=46
  796. SymbolicName=USAGE_DSADD_SLINKBR_REMARKS
  797. Language=English
  798. Remarks:
  799. If you do not supply a target object at the command prompt, the target
  800. object is obtained from standard input (stdin). Stdin data can be
  801. accepted from the keyboard, a redirected file, or as piped output from
  802. another command. To mark the end of stdin data from the keyboard or
  803. in a redirected file, use Control+Z, for End of File (EOF).
  804. If a value that you supply contains spaces, use quotation marks
  805. around the text.
  806. If you enter multiple values, the values must be separated by spaces
  807. (for example, a list of site links).
  808. .
  809. MessageId=47
  810. SymbolicName=USAGE_DSADD_SLINKBR_SEE_ALSO
  811. Language=English
  812. See also:
  813. dsadd computer /? - help for adding a computer to the directory.
  814. dsadd contact /? - help for adding a contact to the directory.
  815. dsadd group /? - help for adding a group to the directory.
  816. dsadd ou /? - help for adding an organizational unit to the directory.
  817. dsadd user /? - help for adding a user to the directory.
  818. dsadd quota /? - help for adding a quota to the directory.
  819. Directory Service command-line tools help:
  820. dsadd /? - help for adding objects.
  821. dsget /? - help for displaying objects.
  822. dsmod /? - help for modifying objects.
  823. dsmove /? - help for moving objects.
  824. dsquery /? - help for finding objects matching search criteria.
  825. dsrm /? - help for deleting objects.
  826. .
  827. MessageId=48
  828. SymbolicName=USAGE_DSADD_CONN_DESCRIPTION
  829. Language=English
  830. Description: Adds a replication connection for a DC.
  831. .
  832. MessageId=49
  833. SymbolicName=USAGE_DSADD_CONN_SYNTAX
  834. Language=English
  835. Syntax: dsadd conn -to <ServerDN> -from <ServerDN>
  836. [-transport (rpc | ip | smtp)]
  837. [-enabled {yes | no}] [-name <Name>] [-desc <Description>]
  838. [-manual {yes | no}] [-autobacksync {yes | no}]
  839. [-notify (yes | no | "")]
  840. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  841. [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]
  842. .
  843. MessageId=50
  844. SymbolicName=USAGE_DSADD_CONN_PARAMETERS
  845. Language=English
  846. Parameters:
  847. Value Description
  848. -to <ServerDN> Required. Creates a connection for the server
  849. whose distinguished name (DN) is <ServerDN>.
  850. -from <ServerDN> Required. Sets the from-end of this connection
  851. to the server whose DN is <ServerDN>.
  852. -transport (rpc | ip | smtp)
  853. Sets the transport type for this connection.
  854. Default: for intra-site connection it is always
  855. RPC, and for inter-site connection it is IP.
  856. -enabled {yes | no} Sets whether the connection enabled (yes) or not
  857. (no).
  858. Default: yes.
  859. -name <Name> Sets the name of the connection.
  860. Default: name is autogenerated.
  861. -desc <Description> Sets the connection description to <Description>.
  862. -manual {yes | no} Sets whether the connection is under manual
  863. control (yes) or automatic DS control (no).
  864. Default: yes.
  865. -autobacksync {yes | no} Sets whether the two-way sync option should be
  866. turned on (yes) or not (no). Default: No.
  867. -notify (yes | no | "") Sets whether notification by source should be
  868. turned on (yes), off (no), or default to standard
  869. practice (""). Default: "" or standard practice.
  870. {-s <Server> | -d <Domain>}
  871. -s <Server> connects to the domain controller
  872. (DC) with name <Server>.
  873. -d <Domain> connects to a DC in domain <Domain>.
  874. Default: a DC in the logon domain.
  875. -u <UserName> Connect as <UserName>. Default: the logged in
  876. user.
  877. User name can be: user name, domain\user name,
  878. or user principal name (UPN).
  879. -p {<Password> | *} Password for the user <UserName>.
  880. If * is entered, then you are prompted for a
  881. password.
  882. -q Quiet mode: suppress all output to standard
  883. output.
  884. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe
  885. is formatted in Unicode.
  886. -uco Specifies that output to pipe or file is
  887. formatted in Unicode.
  888. -uci Specifies that input from pipe or file is
  889. formatted in Unicode.
  890. .
  891. MessageId=51
  892. SymbolicName=USAGE_DSADD_CONN_REMARKS
  893. Language=English
  894. Remarks:
  895. If you do not supply a target object at the command prompt, the target
  896. object is obtained from standard input (stdin). Stdin data can be
  897. accepted from the keyboard, a redirected file, or as piped output from
  898. another command. To mark the end of stdin data from the keyboard or
  899. in a redirected file, use Control+Z, for End of File (EOF).
  900. If a value that you supply contains spaces, use quotation marks
  901. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  902. .
  903. MessageId=52
  904. SymbolicName=USAGE_DSADD_CONN_SEE_ALSO
  905. Language=English
  906. See also:
  907. dsadd computer /? - help for adding a computer to the directory.
  908. dsadd contact /? - help for adding a contact to the directory.
  909. dsadd group /? - help for adding a group to the directory.
  910. dsadd ou /? - help for adding an organizational unit to the directory.
  911. dsadd user /? - help for adding a user to the directory.
  912. dsadd quota /? - help for adding a quota to the directory.
  913. Directory Service command-line tools help:
  914. dsadd /? - help for adding objects.
  915. dsget /? - help for displaying objects.
  916. dsmod /? - help for modifying objects.
  917. dsmove /? - help for moving objects.
  918. dsquery /? - help for finding objects matching search criteria.
  919. dsrm /? - help for deleting objects.
  920. .
  921. MessageId=53
  922. SymbolicName=USAGE_DSADD_QUOTA_DESCRIPTION
  923. Language=English
  924. Adds a quota specification to a directory partition. A quota specification
  925. determines the maximum number of directory objects a given security principal
  926. can own in a specified directory partition.
  927. .
  928. MessageId=54
  929. SymbolicName=USAGE_DSADD_QUOTA_SYNTAX
  930. Language=English
  931. dsadd quota -part <PartitionDN> [-rdn <RDN>] -acct Name
  932. -qlimit <Value> | -1 [-desc <Description>]
  933. [{-s <Server> | -d <Domain>}] [-u <UserName>] [-p {<Password> | *}]
  934. [-q] [{-uc | -uco | -uci}]
  935. .
  936. MessageId=55
  937. SymbolicName=USAGE_DSADD_QUOTA_PARAMETERS
  938. Language=English
  939. -part <PartitionDN> Required. Specifies the distinguished name of the
  940. directory partition on which you want to create a
  941. quota. If the distinguished name is omitted, it
  942. will be taken from standard input (stdin).
  943. -rdn <RDN> Specifies the relative distinguished name (RDN)
  944. of the quota specification being created. If the
  945. -rdn option is omitted, it will be set to
  946. <domain>_<accountname>, using the domain and
  947. account name of the security principal specified
  948. by the -acct parameter.
  949. -acct Name Required. Specifies the security principal (user,
  950. group, computer, InetOrgPerson) for whom the
  951. quota specification is being specified. The -acct
  952. option can be provided in the following forms:
  953. DN of the security principal
  954. domain\SAM account name of the security
  955. principal
  956. -qlimit <Value> | -1
  957. Required. Specifies the number of objects within
  958. the directory partition that can be owned by
  959. the security principal. To specify an unlimited
  960. quota, specify -1 as the value.
  961. -desc <Description> Specifies a description for the quota
  962. specification you want to add.
  963. {-s <Server> | -d <Domain>} Connects the computer to either a specified
  964. server or domain. By default, the computer is
  965. connected to a domain controller in the logon
  966. domain.
  967. -u <UserName> Specifies the user name with which user will log
  968. on to a remote server. By default, the logged on
  969. user name is used. You can specify a user name
  970. using one of the following formats:
  971. user name (such as, Linda)
  972. domain\user name (such as, widgets\Linda)
  973. user principal name (UPN) (such as,
  974. Linda@widgets.microsoft.com)
  975. -p {<Password> | *} Specifies use of a specific password or a * to
  976. log on to a remote server. If you type *, then
  977. you are prompted for a password.
  978. -q Suppresses all output to standard output (quiet
  979. mode).
  980. {-uc | -uco | -uci} Specifies that output or input data is formatted
  981. in Unicode. The -uc value specifies a Unicode
  982. format for input from or output to pipe.
  983. The -uco value specifies a Unicode format for
  984. output to pipe or file. The -uci value specifies
  985. a Unicode format for input from pipe or file.
  986. /? Displays help at the command prompt.
  987. .
  988. MessageId=56
  989. SymbolicName=USAGE_DSADD_QUOTA_REMARKS
  990. Language=English
  991. If you do not supply a target object at the command prompt, the target object
  992. is obtained from standard input (stdin). Stdin data can be accepted from the
  993. keyboard, a redirected file, or as piped output from another command. To mark
  994. the end of stdin data from the keyboard or in a redirected file, use
  995. Control+Z, for End of File (EOF).
  996. If a value that you supply contains spaces, use quotation marks around the
  997. text (for example, "CN=DC 2,OU=Domain Controllers,DC=Microsoft,DC=Com").
  998. .
  999. MessageId=57
  1000. SymbolicName=USAGE_DSADD_QUOTA_SEE_ALSO
  1001. Language=English
  1002. dsadd computer /? - help for adding a computer to the directory.
  1003. dsadd contact /? - help for adding a contact to the directory.
  1004. dsadd group /? - help for adding a group to the directory.
  1005. dsadd ou /? - help for adding an organizational unit to the directory.
  1006. dsadd user /? - help for adding a user to the directory.
  1007. dsadd quota /? - help for adding a quota to the directory.
  1008. Directory Service command-line tools help:
  1009. dsadd /? - help for adding objects.
  1010. dsget /? - help for displaying objects.
  1011. dsmod /? - help for modifying objects.
  1012. dsmove /? - help for moving objects.
  1013. dsquery /? - help for finding objects matching search criteria.
  1014. dsrm /? - help for deleting objects.
  1015. .