Source code of Windows XP (NT5)
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.

710 lines
30 KiB

  1. ;//+-------------------------------------------------------------------------
  2. ;//
  3. ;// Microsoft Windows
  4. ;//
  5. ;// Copyright (C) Microsoft Corporation, 2000 - 2000
  6. ;//
  7. ;// File: usage.mc
  8. ;// Author: micretz
  9. ;//--------------------------------------------------------------------------
  10. MessageId=1
  11. SymbolicName=USAGE_DSADD
  12. Language=English
  13. Description: This tool's commands add specific types of objects to the directory. The dsadd commands:
  14. dsadd computer - adds a computer to the directory.
  15. dsadd contact - adds a contact to the directory.
  16. dsadd group - adds a group to the directory.
  17. dsadd ou - adds an organizational unit to the directory.
  18. dsadd user - adds a user to the directory.
  19. For help on a specific command, type "dsadd <ObjectType> /?" where <ObjectType> is
  20. one of the supported object types shown above. For example, dsadd ou /?.
  21. Directory Service command-line tools help:
  22. dsadd /? - help for adding objects.
  23. dsget /? - help for displaying objects.
  24. dsmod /? - help for modifying objects.
  25. dsmove /? - help for moving objects.
  26. dsquery /? - help for finding objects matching search criteria.
  27. dsrm /? - help for deleting objects.
  28. .
  29. MessageId=2
  30. SymbolicName=USAGE_DSADD_USER
  31. Language=English
  32. Description: Adds a user to the directory.
  33. Syntax: dsadd user <ObjectDN>
  34. -samid <SAMName>
  35. [-upn <UPN>]
  36. [-fn <FirstName>]
  37. [-mi <Initial>]
  38. [-ln <LastName>]
  39. [-display <DisplayName>]
  40. [-empid <EmployeeID>]
  41. [-pwd {<Password> | *}]
  42. [-desc <Description>]
  43. [-memberof <Group ...>]
  44. [-office <Office>]
  45. [-tel <Phone#>]
  46. [-email <Email>]
  47. [-hometel <HomePhone#>]
  48. [-pager <Pager#>]
  49. [-mobile <CellPhone#>]
  50. [-fax <Fax#>]
  51. [-iptel <IPPhone#>]
  52. [-webpg <WebPage>]
  53. [-title <Title>]
  54. [-dept <Department>]
  55. [-company <Company>]
  56. [-mgr <Manager>]
  57. [-hmdir <HomeDir>]
  58. [-hmdrv <DriveLtr:>]
  59. [-profile <ProfilePath>]
  60. [-loscr <ScriptPath>]
  61. [-mustchpwd {yes | no}]
  62. [-canchpwd {yes | no}]
  63. [-reversiblepwd {yes | no}]
  64. [-pwdneverexpires {yes | no}]
  65. [-acctexpires <NumDays>]
  66. [-disabled {yes | no}]
  67. [{-s <Server> | -d <Domain>}]
  68. [-u <UserName>]
  69. [-p {<Password> | *}]
  70. [-q]
  71. Parameters:
  72. Value Description
  73. <ObjectDN> Required. Distinguished name (DN) of user to add.
  74. -samid <SAMName> Required. Set the SAM account name of user to <SAMName>.
  75. -upn <UPN> Set the upn value to <UPN>.
  76. -fn <FirstName> Set user first name to <FirstName>.
  77. -mi <Initial> Set user middle initial to <Initial>.
  78. -ln <LastName> Set user last name to <LastName>.
  79. -display <DisplayName> Set user display name to <DisplayName>.
  80. -empid <EmployeeID> Set user employee ID to <EmployeeID>.
  81. -pwd {<Password> | *} Set user password to <Password>. If *, then you are
  82. prompted for a password.
  83. -desc <Description> Set user description to <Description>.
  84. -memberof <Group ...> Make user a member of one or more groups <Group ...>
  85. -office <Office> Set user office location to <Office>.
  86. -tel <Phone#> Set user telephone# to <Phone#>.
  87. -email <Email> Set user e-mail address to <Email>.
  88. -hometel <HomePhone#> Set user home phone# to <HomePhone#>.
  89. -pager <Pager#> Set user pager# to <Pager#>.
  90. -mobile <CellPhone#> Set user mobile# to <CellPhone#>.
  91. -fax <Fax#> Set user fax# to <Fax#>.
  92. -iptel <IPPhone#> Set user IP phone# to <IPPhone#>.
  93. -webpg <WebPage> Set user web page URL to <WebPage>.
  94. -title <Title> Set user title to <Title>.
  95. -dept <Department> Set user department to <Department>.
  96. -company <Company> Set user company info to <Company>.
  97. -mgr <Manager> Set user's manager to <Manager> (format is DN).
  98. -hmdir <HomeDir> Set user home directory to <HomeDir>. If this is
  99. UNC path, then a drive letter that will be mapped to
  100. this path must also be specified through -hmdrv.
  101. -hmdrv <DriveLtr:> Set user home drive letter to <DriveLtr:>
  102. -profile <ProfilePath> Set user's profile path to <ProfilePath>.
  103. -loscr <ScriptPath> Set user's logon script path to <ScriptPath>.
  104. -mustchpwd {yes | no} User must change password at next logon or not.
  105. Default: no.
  106. -canchpwd {yes | no} User can change password or not. This should be
  107. "yes" if the -mustchpwd is "yes". Default: yes.
  108. -reversiblepwd {yes | no}
  109. Store user password using reversible encryption or
  110. not. Default: no.
  111. -pwdneverexpires {yes | no}
  112. User password never expires or not. Default: no.
  113. -acctexpires <NumDays> Set user account to expire in <NumDays> days from
  114. today. A value of 0 implies account expires
  115. at the end of today; a positive value
  116. implies the account expires in the future;
  117. a negative value implies the account already expired
  118. and sets an expiration date in the past;
  119. the string value "never" implies that the
  120. account never expires].
  121. -disabled {yes | no} User account is disabled or not. Default: no.
  122. {-s <Server> | -d <Domain>}
  123. -s <Server> connects to the domain controller (DC) with name
  124. <Server>. Default: local system.
  125. -d <Domain> connects to a DC in domain <Domain>.
  126. Default: a DC in the logon domain.
  127. -u <UserName> Connect as <UserName>. Default: the logged in user.
  128. -p {<Password> | *} Password for the user <UserName>. If * then prompted for pwd.
  129. -q Quiet mode: suppress all output to standard output.
  130. Remarks:
  131. If a value that you supply contains spaces, use quotation marks
  132. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  133. If you enter multiple values, the values must be separated by spaces
  134. (for example, a list of distinguished names).
  135. The special token $username$ (case insensitive) may be used to place the SAM account name in the value of a parameter. For example, if the target user DN is CN=Jane Doe,CN=users,CN=microsoft,CN=com and the SAM account name attribute is "janed," the -hmdir parameter can have the following substitution:
  136. -hmdir \users\$username$\home
  137. The value of the -hmdir parameter is modified to the following value:
  138. - hmdir \users\janed\home
  139. See also:
  140. dsadd computer /? - help for adding a computer to the directory.
  141. dsadd contact /? - help for adding a contact to the directory.
  142. dsadd group /? - help for adding a group to the directory.
  143. dsadd ou /? - help for adding an organizational unit to the directory.
  144. dsadd user /? - help for adding a user to the directory.
  145. Directory Service command-line tools help:
  146. dsadd /? - help for adding objects.
  147. dsget /? - help for displaying objects.
  148. dsmod /? - help for modifying objects.
  149. dsmove /? - help for moving objects.
  150. dsquery /? - help for finding objects matching search criteria.
  151. dsrm /? - help for deleting objects.
  152. .
  153. MessageId=3
  154. SymbolicName=USAGE_DSADD_COMPUTER
  155. Language=English
  156. Description: Adds a computer to the directory.
  157. Syntax: dsadd computer <ObjectDN>
  158. [-samid <SAMName>]
  159. [-desc <Description>]
  160. [-loc <Location>]
  161. [-memberof <Group ...>]
  162. [{-s <Server> | -d <Domain>}]
  163. [-u <UserName>]
  164. [-p {<Password> | *}]
  165. [-q]
  166. Parameters:
  167. Value Description
  168. <ObjectDN> Required. Distinguished name (DN) of computer to add.
  169. -samid <SAMName> Sets the computer SAM account name to <SAMName>.
  170. If this parameter is not specified, then a
  171. SAM account name is derived from the value of
  172. the common name (CN) attribute used in <ObjectDN>.
  173. -desc <Description> Sets the computer description to <Description>.
  174. -loc <Location> Sets the computer location to <Location>.
  175. -memberof <Group ...> Makes the computer a member of one or more groups
  176. given by the space-separated list of DNs <Group ...>.
  177. {-s <Server> | -d <Domain>}
  178. -s <Server> connects to the domain controller (DC) with name
  179. <Server>. Default: local system.
  180. -d <Domain> connects to a DC in domain <Domain>.
  181. Default: a DC in the logon domain.
  182. -u <UserName> Connect as <UserName>. Default: the logged in user.
  183. -p {<Password> | *}
  184. Password for the user <UserName>. If * then prompted for pwd.
  185. -q Quiet mode: suppress all output to standard output.
  186. Remarks:
  187. If a value that you supply contains spaces, use quotation marks
  188. around the text (for example, "CN=DC2,OU=Domain Controllers,DC=microsoft,DC=com").
  189. If you enter multiple values, the values must be separated by spaces
  190. (for example, a list of group distinguished names).
  191. See also:
  192. dsadd computer /? - help for adding a computer to the directory.
  193. dsadd contact /? - help for adding a contact to the directory.
  194. dsadd group /? - help for adding a group to the directory.
  195. dsadd ou /? - help for adding an organizational unit to the directory.
  196. dsadd user /? - help for adding a user to the directory.
  197. Directory Service command-line tools help:
  198. dsadd /? - help for adding objects.
  199. dsget /? - help for displaying objects.
  200. dsmod /? - help for modifying objects.
  201. dsmove /? - help for moving objects.
  202. dsquery /? - help for finding objects matching search criteria.
  203. dsrm /? - help for deleting objects.
  204. .
  205. MessageId=4
  206. SymbolicName=USAGE_DSADD_GROUP
  207. Language=English
  208. Description: Adds a group to the directory.
  209. Syntax: dsadd group <ObjectDN>
  210. [-secgrp {yes | no}]
  211. [-scope {l | g | u}]
  212. [-samid <SAMName>]
  213. [-desc <Description>]
  214. [-memberof <Group ...>]
  215. [-members <Member ...>]
  216. [{-s <Server> | -d <Domain>}]
  217. [-u <UserName>]
  218. [-p {<Password> | *}]
  219. [-q]
  220. Parameters:
  221. Value Description
  222. <ObjectDN> Required. Distinguished name (DN) of group to add.
  223. -secgrp {yes | no} Sets this group as a security group (yes) or not (no).
  224. Default: yes.
  225. -scope {l | g | u} Scope of this group: local, global or universal.
  226. Default: global.
  227. -samid <SAMName> Set the SAM account name of group to <SAMName>
  228. (for example, operators).
  229. -desc <Description> Set group description to <Description>.
  230. -memberof <Group ...> Make the group a member of one or more groups
  231. given by the space-separated list of DNs <Group ...>.
  232. -members <Member ...> Add one or more members to this group. Members are
  233. set by space-separated list of DNs <Member ...>.
  234. {-s <Server> | -d <Domain>}
  235. -s <Server> connects to the domain controller (DC) with name
  236. <Server>. Default: local system.
  237. -d <Domain> connects to a DC in domain <Domain>.
  238. Default: a DC in the logon domain.
  239. -u <UserName> Connect as <UserName>. Default: the logged in user.
  240. -p {<Password> | *}
  241. Password for the user <UserName>. If * then prompted for pwd.
  242. -q Quiet mode: suppress all output to standard output.
  243. Remarks:
  244. If a value that you supply contains spaces, use quotation marks
  245. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  246. If you enter multiple values, the values must be separated by spaces
  247. (for example, a list of group distinguished names).
  248. See also:
  249. dsadd computer /? - help for adding a computer to the directory.
  250. dsadd contact /? - help for adding a contact to the directory.
  251. dsadd group /? - help for adding a group to the directory.
  252. dsadd ou /? - help for adding an organizational unit to the directory.
  253. dsadd user /? - help for adding a user to the directory.
  254. Directory Service command-line tools help:
  255. dsadd /? - help for adding objects.
  256. dsget /? - help for displaying objects.
  257. dsmod /? - help for modifying objects.
  258. dsmove /? - help for moving objects.
  259. dsquery /? - help for finding objects matching search criteria.
  260. dsrm /? - help for deleting objects.
  261. .
  262. MessageId=5
  263. SymbolicName=USAGE_DSADD_OU
  264. Language=English
  265. Description: Adds an organizational unit to the directory
  266. Syntax: dsadd ou <ObjectDN>
  267. [-desc <Description>]
  268. [{-s <Server> | -d <Domain>}]
  269. [-u <UserName>]
  270. [-p {<Password> | *}]
  271. [-q]
  272. Parameters:
  273. Value Description
  274. <ObjectDN> Required. Distinguished name (DN)
  275. of the organizational unit (OU) to add.
  276. -desc <Description> Set the OU description to <Description>.
  277. {-s <Server> | -d <Domain>}
  278. -s <Server> connects to the domain controller (DC) with name
  279. <Server>. Default: local system.
  280. -d <Domain> connects to a DC in domain <Domain>.
  281. Default: a DC in the logon domain.
  282. -u <UserName> Connect as <UserName>. Default: the logged in user.
  283. -p {<Password> | *}
  284. Password for the user <UserName>. If * then prompted for pwd.
  285. -q Quiet mode: suppress all output to standard output.
  286. Remarks:
  287. If a value that you supply contains spaces, use quotation marks
  288. around the text (for example, "OU=Domain Controllers,DC=microsoft,DC=com").
  289. See also:
  290. dsadd computer /? - help for adding a computer to the directory.
  291. dsadd contact /? - help for adding a contact to the directory.
  292. dsadd group /? - help for adding a group to the directory.
  293. dsadd ou /? - help for adding an organizational unit to the directory.
  294. dsadd user /? - help for adding a user to the directory.
  295. Directory Service command-line tools help:
  296. dsadd /? - help for adding objects.
  297. dsget /? - help for displaying objects.
  298. dsmod /? - help for modifying objects.
  299. dsmove /? - help for moving objects.
  300. dsquery /? - help for finding objects matching search criteria.
  301. dsrm /? - help for deleting objects.
  302. .
  303. MessageId=6
  304. SymbolicName=USAGE_DSADD_CONTACT
  305. Language=English
  306. Description: Adds a contact to the directory.
  307. Syntax: dsadd contact <ObjectDN>
  308. [-fn <FirstName>]
  309. [-mi <Initial>]
  310. [-ln <LastName>]
  311. [-display <DisplayName>]
  312. [-desc <Description>]
  313. [-office <Office>]
  314. [-tel <Phone#>]
  315. [-email <Email>]
  316. [-hometel <HomePhone#>]
  317. [-pager <Pager#>]
  318. [-mobile <CellPhone#>]
  319. [-fax <Fax#>]
  320. [-iptel <IPPhone#>]
  321. [-title <Title>]
  322. [-dept <Department>]
  323. [-company <Company>]
  324. [{-s <Server> | -d <Domain>}]
  325. [-u <UserName>]
  326. [-p {<Password> | *}]
  327. [-q]
  328. Parameters:
  329. Value Description
  330. <ObjectDN> Required. Distinguished name (DN) of contact to add.
  331. -fn <FirstName> Sets contact first name to <FirstName>.
  332. -mi <Initial> Sets contact middle initial to <Initial>.
  333. -ln <LastName> Sets contact last name to <LastName>.
  334. -display <DisplayName> Sets contact display name to <DisplayName>.
  335. -desc <Description> Sets contact description to <Description>.
  336. -office <Office> Sets contact office location to <Office>.
  337. -tel <Phone#> Sets contact telephone# to <Phone#>.
  338. -email <Email> Sets contact e-mail address to <Email>.
  339. -hometel <HomePhone#> Sets contact home phone# to <HomePhone#>.
  340. -pager <Pager#> Sets contact pager# to <Pager#>.
  341. -mobile <CellPhone#> Sets contact mobile# to <CellPhone#>.
  342. -fax <Fax#> Sets contact fax# to <Fax#>.
  343. -iptel <IPPhone#> Sets contact IP phone# to <IPPhone#>.
  344. -title <Title> Sets contact title to <Title>.
  345. -dept <Department> Sets contact department to <Department>.
  346. -company <Company> Sets contact company info to <Company>.
  347. {-s <Server> | -d <Domain>}
  348. -s <Server> connects to the domain controller (DC) with name
  349. <Server>. Default: local system.
  350. -d <Domain> connects to a DC in domain <Domain>.
  351. Default: a DC in the logon domain.
  352. -u <UserName> Connect as <UserName>. Default: the logged in user.
  353. -p {<Password> | *}
  354. Password for the user <UserName>. If * then prompted for pwd.
  355. -q Quiet mode: suppress all output to standard output.
  356. Remarks:
  357. If a value that you supply contains spaces, use quotation marks
  358. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  359. See also:
  360. dsadd computer /? - help for adding a computer to the directory.
  361. dsadd contact /? - help for adding a contact to the directory.
  362. dsadd group /? - help for adding a group to the directory.
  363. dsadd ou /? - help for adding an organizational unit to the directory.
  364. dsadd user /? - help for adding a user to the directory.
  365. Directory Service command-line tools help:
  366. dsadd /? - help for adding objects.
  367. dsget /? - help for displaying objects.
  368. dsmod /? - help for modifying objects.
  369. dsmove /? - help for moving objects.
  370. dsquery /? - help for finding objects matching search criteria.
  371. dsrm /? - help for deleting objects.
  372. .
  373. MessageId=7
  374. SymbolicName=USAGE_DSADD_SUBNET
  375. Language=English
  376. Description: Adds a subnet to the directory.
  377. Syntax: dsadd subnet
  378. -addr <IPaddress>
  379. -mask <NetMask>
  380. [-site <SiteName>]
  381. [-desc <Description>]
  382. [-loc <Location>]
  383. [{-s <Server> | -d <Domain>}]
  384. [-u <UserName>]
  385. [-p {<Password> | *}]
  386. [-q]
  387. Parameters:
  388. Value Description
  389. -addr <IPaddress> Required. Set network address of the subnet to <IPaddress>.
  390. -mask <NetMask> Required. Set subnet mask of the subnet to <NetMask>.
  391. -site <SiteName> Make the subnet associated with site <SiteName>.
  392. Default: "Default-First-Site-Name".
  393. -desc <Description> Set the subnet object's description to <Description>.
  394. -loc <Location> Set the subnet object's location to <Location>.
  395. {-s <Server> | -d <Domain>}
  396. -s <Server> connects to the domain controller (DC) with name
  397. <Server>. Default: local system.
  398. -d <Domain> connects to a DC in domain <Domain>.
  399. Default: a DC in the logon domain.
  400. -u <UserName> Connect as <UserName>. Default: the logged in user.
  401. -p {<Password> | *}
  402. Password for the user <UserName>. If * then prompted for pwd.
  403. -q Quiet mode: suppress all output to standard output.
  404. Remarks:
  405. If a value that you supply contains spaces, use quotation marks
  406. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  407. See also:
  408. dsadd computer /? - help for adding a computer to the directory.
  409. dsadd contact /? - help for adding a contact to the directory.
  410. dsadd group /? - help for adding a group to the directory.
  411. dsadd ou /? - help for adding an organizational unit to the directory.
  412. dsadd user /? - help for adding a user to the directory.
  413. Directory Service command-line tools help:
  414. dsadd /? - help for adding objects.
  415. dsget /? - help for displaying objects.
  416. dsmod /? - help for modifying objects.
  417. dsmove /? - help for moving objects.
  418. dsquery /? - help for finding objects matching search criteria.
  419. dsrm /? - help for deleting objects.
  420. .
  421. MessageId=8
  422. SymbolicName=USAGE_DSADD_SITE
  423. Language=English
  424. Description: Adds a site to the directory.
  425. Syntax: dsadd site <Name>
  426. [-slink <SitelinkName>]
  427. [-transport {ip | smtp}]
  428. [-desc <Description>]
  429. [{-s <Server> | -d <Domain>}]
  430. [-u <UserName>]
  431. [-p {<Password> | *}]
  432. [-q]
  433. Parameters:
  434. Value Description
  435. <Name> Required. Common name (CN) of the site to add
  436. (for example, New-York).
  437. -slink <SitelinkName> Set the site link for the site to <SitelinkName>.
  438. Default: DefaulttIPSitelink.
  439. -transport {ip | smtp} Site link type (IP or SMTP). Default: IP.
  440. -desc <Description> Set the site description to <Description>.
  441. {-s <Server> | -d <Domain>}
  442. -s <Server> connects to the domain controller
  443. (DC) with name <Server>. Default: local system.
  444. -d <Domain> connects to a DC in domain <Domain>.
  445. Default: a DC in the logon domain.
  446. -u <UserName> Connect as <UserName>. Default: the logged in user.
  447. -p {<Password> | *} Password for the user <UserName>.
  448. If * then prompted for pwd.
  449. -q Quiet mode: suppress all output to standard output.
  450. Remarks:
  451. If a value that you supply contains spaces, use quotation marks
  452. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  453. See also:
  454. dsadd computer /? - help for adding a computer to the directory.
  455. dsadd contact /? - help for adding a contact to the directory.
  456. dsadd group /? - help for adding a group to the directory.
  457. dsadd ou /? - help for adding an organizational unit to the directory.
  458. dsadd user /? - help for adding a user to the directory.
  459. Directory Service command-line tools help:
  460. dsadd /? - help for adding objects.
  461. dsget /? - help for displaying objects.
  462. dsmod /? - help for modifying objects.
  463. dsmove /? - help for moving objects.
  464. dsquery /? - help for finding objects matching search criteria.
  465. dsrm /? - help for deleting objects.
  466. .
  467. MessageId=9
  468. SymbolicName=USAGE_DSADD_SLINK
  469. Language=English
  470. Description: Adds a sitelink to the directory.
  471. Syntax: dsadd slink <Name>
  472. <SiteName ...>
  473. [-transport {ip | smtp}]
  474. [-cost <Cost>]
  475. [-replint <ReplInterval>]
  476. [-desc <Description>]
  477. [-autobacksync {yes | no}]
  478. [-notify {yes | no}]
  479. [{-s <Server> | -d <Domain>}]
  480. [-u <UserName>]
  481. [-p {<Password> | *}]
  482. [-q]
  483. Parameters:
  484. Value Description
  485. <Name> Required. Common name (CN) of the sitelink to add.
  486. <SiteName ...> Required/stdin. Names of two or more sites to add to the
  487. sitelink. If names are omitted they will be taken from
  488. standard input (stdin) to support piping of output from
  489. another command as input of this command.
  490. -transport {ip | smtp} Sets site link transport type (IP or SMTP). Default: IP.
  491. -cost <Cost> Sets the cost for the sitelink to the value <Cost>.
  492. Default: 100.
  493. -replint <ReplInterval> Sets replication interval for the sitelink to
  494. <ReplInterval> minutes. Default: 180.
  495. -desc <Description> Sets the sitelink description to <Description>.
  496. -autobacksync {yes | no}
  497. Sets whether the two-way sync option should be turned
  498. on (yes) or not (no). Default: no.
  499. -notify {yes | no} Set if notification by source on this link should
  500. be turned on (yes) or off (no). Default: no.
  501. {-s <Server> | -d <Domain>}
  502. -s <Server> connects to the domain controller (DC) with name
  503. <Server>. Default: local system.
  504. -d <Domain> connects to a DC in domain <Domain>.
  505. Default: a DC in the logon domain.
  506. -u <UserName> Connect as <UserName>. Default: the logged in user.
  507. -p {<Password> | *}
  508. Password for the user <UserName>. If * then prompted for pwd.
  509. -q Quiet mode: suppress all output to stadard output.
  510. Remarks:
  511. If a value that you supply contains spaces, use quotation marks
  512. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  513. If you enter multiple values, the values must be separated by spaces
  514. (for example, a list of distinguished names).
  515. See also:
  516. dsadd computer /? - help for adding a computer to the directory.
  517. dsadd contact /? - help for adding a contact to the directory.
  518. dsadd group /? - help for adding a group to the directory.
  519. dsadd ou /? - help for adding an organizational unit to the directory.
  520. dsadd user /? - help for adding a user to the directory.
  521. Directory Service command-line tools help:
  522. dsadd /? - help for adding objects.
  523. dsget /? - help for displaying objects.
  524. dsmod /? - help for modifying objects.
  525. dsmove /? - help for moving objects.
  526. dsquery /? - help for finding objects matching search criteria.
  527. dsrm /? - help for deleting objects.
  528. .
  529. MessageId=10
  530. SymbolicName=USAGE_DSADD_SLINKBR
  531. Language=English
  532. Description: Adds a sitelink bridge to the directory.
  533. Syntax: dsadd slinkbr <Name>
  534. <SitelinkName ...>
  535. [-transport {ip | smtp}]
  536. [-desc <Description>]
  537. [{-s <Server> | -d <Domain>}]
  538. [-u <UserName>]
  539. [-p {<Password> | *}]
  540. [-q]
  541. Parameters:
  542. Value Description
  543. <Name> Required. Common name (CN) of the sitelink bridge to add.
  544. <SitelinkName ...> Required/stdin. Names of two or more site links to add to the
  545. sitelink bridge. If names are omitted they will be taken from
  546. standard input (stdin) to support piping of output from
  547. another command as input of this command.
  548. -transport {ip | smtp} Site link transport type: IP or SMTP. Default: IP.
  549. -desc <Description> Set the sitelink bridge description to <Description>.
  550. {-s <Server> | -d <Domain>}
  551. -s <Server> connects to the domain controller (DC) with name
  552. <Server>. Default: local system.
  553. -d <Domain> connects to a DC in domain <Domain>.
  554. Default: a DC in the logon domain.
  555. -u <UserName> Connect as <UserName>. Default: the logged in user.
  556. -p {<Password> | *} Password for the user <UserName>. If * then prompted for pwd.
  557. -q Quiet mode: suppress all output to stadard output.
  558. Remarks:
  559. If a value that you supply contains spaces, use quotation marks
  560. around the text.
  561. If you enter multiple values, the values must be separated by spaces
  562. (for example, a list of site links).
  563. See also:
  564. dsadd computer /? - help for adding a computer to the directory.
  565. dsadd contact /? - help for adding a contact to the directory.
  566. dsadd group /? - help for adding a group to the directory.
  567. dsadd ou /? - help for adding an organizational unit to the directory.
  568. dsadd user /? - help for adding a user to the directory.
  569. Directory Service command-line tools help:
  570. dsadd /? - help for adding objects.
  571. dsget /? - help for displaying objects.
  572. dsmod /? - help for modifying objects.
  573. dsmove /? - help for moving objects.
  574. dsquery /? - help for finding objects matching search criteria.
  575. dsrm /? - help for deleting objects.
  576. .
  577. MessageId=11
  578. SymbolicName=USAGE_DSADD_CONN
  579. Language=English
  580. Description: Adds a replication connection for a DC.
  581. Syntax: dsadd conn
  582. -to <ServerDN>
  583. -from <ServerDN>
  584. [-transport (rpc | ip | smtp)]
  585. [-enabled {yes | no}]
  586. [-name <Name>]
  587. [-desc <Description>]
  588. [-manual {yes | no}]
  589. [-autobacksync {yes | no}]
  590. [-notify (yes | no | "")]
  591. [{-s <Server> | -d <Domain>}]
  592. [-u <UserName>]
  593. [-p {<Password> | *}]
  594. [-q]
  595. Parameters:
  596. Value Description
  597. -to <ServerDN> Required. Creates a connection for the server whose
  598. distinguished name (DN) is <ServerDN>.
  599. -from <ServerDN> Required. Sets the from-end of this connection
  600. to the server whose DN is <ServerDN>.
  601. -transport (rpc | ip | smtp)
  602. Sets the transport type for this connection.
  603. Default: for intra-site connection it is always RPC,
  604. and for inter-site connection it is IP.
  605. -enabled {yes | no} Sets whether the connection enabled (yes) or not (no).
  606. Default: yes.
  607. -name <Name> Sets the name of the connection.
  608. Default: name is autogenerated.
  609. -desc <Description> Sets the connection description to <Description>.
  610. -manual {yes | no} Sets whether the connection is under manual control (yes)
  611. or automatic DS control (no). Default: yes.
  612. -autobacksync {yes | no} Sets whether the two-way sync option should be turned
  613. on (yes) or not (no). Default: No.
  614. -notify (yes | no | "") Sets whether notification by source should be turned
  615. on (yes), off (no), or default to standard
  616. practice (""). Default: "" or standard practice.
  617. {-s <Server> | -d <Domain>}
  618. -s <Server> connects to the domain controller (DC)
  619. with name <Server>. Default: local system.
  620. -d <Domain> connects to a DC in domain <Domain>.
  621. Default: a DC in the logon domain.
  622. -u <UserName> Connect as <UserName>. Default: the logged in user.
  623. -p {<Password> | *} Password for the user <UserName>.
  624. If * then prompted for pwd.
  625. -q Quiet mode: suppress all output to stadard output.
  626. Remarks:
  627. If a value that you supply contains spaces, use quotation marks
  628. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  629. See also:
  630. dsadd computer /? - help for adding a computer to the directory.
  631. dsadd contact /? - help for adding a contact to the directory.
  632. dsadd group /? - help for adding a group to the directory.
  633. dsadd ou /? - help for adding an organizational unit to the directory.
  634. dsadd user /? - help for adding a user to the directory.
  635. Directory Service command-line tools help:
  636. dsadd /? - help for adding objects.
  637. dsget /? - help for displaying objects.
  638. dsmod /? - help for modifying objects.
  639. dsmove /? - help for moving objects.
  640. dsquery /? - help for finding objects matching search criteria.
  641. dsrm /? - help for deleting objects.
  642. .
  643.