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.

1631 lines
68 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_DSMOD_DESCRIPTION
  12. Language=English
  13. Description: This dsmod command modifies existing objects in the directory.
  14. The dsmod commands include:
  15. dsmod computer - modifies an existing computer in the directory.
  16. dsmod contact - modifies an existing contact in the directory.
  17. dsmod group - modifies an existing group in the directory.
  18. dsmod ou - modifies an existing organizational unit in the directory.
  19. dsmod server - modifies an existing domain controller in the directory.
  20. dsmod user - modifies an existing user in the directory.
  21. dsmod quota - modifies an existing quota specification in the directory.
  22. dsmod partition - modifies an existing quota specification in the directory.
  23. For help on a specific command, type "dsmod <ObjectType> /?" where
  24. <ObjectType> is one of the supported object types shown above.
  25. For example, dsmod ou /?.
  26. .
  27. MessageId=2
  28. SymbolicName=USAGE_DSMOD_REMARKS
  29. Language=English
  30. Remarks:
  31. The dsmod commands support piping of input to allow you to pipe results from
  32. the dsquery commands as input to the dsmod commands and modify the objects
  33. found by the dsquery commands.
  34. Commas that are not used as separators in distinguished names must be
  35. escaped with the backslash ("\") character
  36. (for example, "CN=Company\, Inc.,CN=Users,DC=microsoft,DC=com").
  37. Backslashes used in distinguished names must be escaped with a backslash
  38. (for example,
  39. "CN=Sales\\ Latin America,OU=Distribution Lists,DC=microsoft,DC=com").
  40. .
  41. MessageId=3
  42. SymbolicName=USAGE_DSMOD_EXAMPLES
  43. Language=English
  44. Examples:
  45. To find all users in the organizational unit (OU)
  46. "ou=Marketing,dc=microsoft,dc=com" and add them to the Marketing Staff group:
  47. dsquery user startnode "ou=Marketing,dc=microsoft,dc=com" |
  48. dsmod group "cn=Marketing Staff,ou=Marketing,dc=microsoft,dc=com" -addmbr
  49. Directory Service command-line tools help:
  50. dsadd /? - help for adding objects.
  51. dsget /? - help for displaying objects.
  52. dsmod /? - help for modifying objects.
  53. dsmove /? - help for moving objects.
  54. dsquery /? - help for finding objects matching search criteria.
  55. dsrm /? - help for deleting objects.
  56. .
  57. MessageId=4
  58. SymbolicName=USAGE_DSMOD_USER_DESCRIPTION
  59. Language=English
  60. Description: Modifies an existing user in the directory.
  61. .
  62. MessageId=5
  63. SymbolicName=USAGE_DSMOD_USER_SYNTAX
  64. Language=English
  65. Syntax: dsmod user <UserDN ...> [-upn <UPN>] [-fn <FirstName>]
  66. [-mi <Initial>] [-ln <LastName>] [-display <DisplayName>]
  67. [-empid <EmployeeID>] [-pwd {<Password> | *}]
  68. [-desc <Description>] [-office <Office>] [-tel <Phone#>]
  69. [-email <Email>] [-hometel <HomePhone#>] [-pager <Pager#>]
  70. [-mobile <CellPhone#>] [-fax <Fax#>] [-iptel <IPPhone#>]
  71. [-webpg <WebPage>] [-title <Title>] [-dept <Department>]
  72. [-company <Company>] [-mgr <Manager>] [-hmdir <HomeDir>]
  73. [-hmdrv <DriveLtr>:] [-profile <ProfilePath>]
  74. [-loscr <ScriptPath>] [-mustchpwd {yes | no}]
  75. [-canchpwd {yes | no}] [-reversiblepwd {yes | no}]
  76. [-pwdneverexpires {yes | no}]
  77. [-acctexpires <NumDays>] [-disabled {yes | no}]
  78. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  79. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  80. .
  81. MessageId=6
  82. SymbolicName=USAGE_DSMOD_USER_PARAMETERS
  83. Language=English
  84. Parameters:
  85. Value Description
  86. <UserDN ...> Required/stdin. Distinguished names (DNs)
  87. of one or more users to modify.
  88. If target objects are omitted they
  89. will be taken from standard input (stdin)
  90. to support piping of output from another command
  91. to input of this command.
  92. -upn <UPN> Sets the UPN value to <UPN>.
  93. -fn <FirstName> Sets user first name to <FirstName>.
  94. -mi <Initial> Sets user middle initial to <Initial>.
  95. -ln <LastName> Sets user last name to <LastName>.
  96. -display <DisplayName> Sets user display name to <DisplayName>.
  97. -empid <EmployeeID> Sets user employee ID to <EmployeeID>.
  98. -pwd {<Password> | *} Resets user password to <Password>. If *, then
  99. you are prompted for a password.
  100. -desc <Description> Sets user description to <Description>.
  101. -office <Office> Sets user office location to <Office>.
  102. -tel <Phone#> Sets user telephone# to <Phone#>.
  103. -email <Email> Sets user e-mail address to <Email>.
  104. -hometel <HomePhone#> Sets user home phone# to <HomePhone#>.
  105. -pager <Pager#> Sets user pager# to <Pager#>.
  106. -mobile <CellPhone#> Sets user mobile# to <CellPhone#>.
  107. -fax <Fax#> Sets user fax# to <Fax#>.
  108. -iptel <IPPhone#> Sets user IP phone# to <IPPhone#>.
  109. -webpg <WebPage> Sets user web page URL to <WebPage>.
  110. -title <Title> Sets user title to <Title>.
  111. -dept <Department> Sets user department to <Department>.
  112. -company <Company> Sets user company info to <Company>.
  113. -mgr <Manager> Sets user's manager to <Manager>.
  114. -hmdir <HomeDir> Sets user home directory to <HomeDir>. If this is
  115. UNC path, then a drive letter to be mapped to
  116. this path must also be specified through -hmdrv.
  117. -hmdrv <DriveLtr>: Sets user home drive letter to <DriveLtr>:
  118. -profile <ProfilePath> Sets user's profile path to <ProfilePath>.
  119. -loscr <ScriptPath> Sets user's logon script path to <ScriptPath>.
  120. -mustchpwd {yes | no} Sets whether the user must change his password (yes)
  121. or not (no) at his next logon.
  122. -canchpwd {yes | no} Sets whether the user can change his password (yes)
  123. or not (no). This setting should be "yes"
  124. if the -mustchpwd setting is "yes".
  125. -reversiblepwd {yes | no}
  126. Sets whether the user password should be stored using
  127. reversible encryption (yes) or not (no).
  128. -pwdneverexpires {yes | no}
  129. Sets whether the user's password never expires (yes)
  130. or not (no).
  131. -acctexpires <NumDays> Sets user account to expire in <NumDays> days from
  132. today. A value of 0 sets expiration at the end of
  133. today.
  134. A positive value sets expiration in the future.
  135. A negative value sets expiration in the past.
  136. A string value of "never" sets the account
  137. to never expire.
  138. -disabled {yes | no} Sets whether the user account is disabled (yes)
  139. or not (no).
  140. {-s <Server> | -d <Domain>}
  141. -s <Server> connects to the domain controller (DC)
  142. with name <Server>.
  143. -d <Domain> connects to a DC in domain <Domain>.
  144. Default: a DC in the logon domain.
  145. -u <UserName> Connect as <UserName>. Default: the logged in user.
  146. User name can be: user name, domain\user name,
  147. or user principal name (UPN).
  148. -p <Password> Password for the user <UserName>. If * then prompt
  149. for password.
  150. -c Continuous operation mode. Reports errors but
  151. continues with next object in argument list
  152. when multiple target objects are specified.
  153. Without this option, the command exits on the
  154. first error.
  155. -q Quiet mode: suppress all output to standard output.
  156. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  157. formatted in Unicode.
  158. -uco Specifies that output to pipe or file is
  159. formatted in Unicode.
  160. -uci Specifies that input from pipe or file is
  161. formatted in Unicode.
  162. .
  163. MessageId=7
  164. SymbolicName=USAGE_DSMOD_USER_REMARKS
  165. Language=English
  166. Remarks:
  167. If a value that you supply contains spaces, use quotation marks
  168. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  169. If you enter multiple values, the values must be separated by spaces
  170. (for example, a list of distinguished names).
  171. The special token $username$ (case insensitive) may be used to place the
  172. SAM account name in the value of -webpg, -profile, -hmdir, and
  173. -email parameter.
  174. For example, if the target user DN is
  175. CN=Jane Doe,CN=users,CN=microsoft,CN=com and the SAM account name
  176. attribute is "janed," the -hmdir parameter can have the following
  177. substitution:
  178. -hmdir \users\$username$\home
  179. The value of the -hmdir parameter is modified to the following value:
  180. - hmdir \users\janed\home
  181. .
  182. MessageId=8
  183. SymbolicName=USAGE_DSMOD_USER_EXAMPLES
  184. Language=English
  185. Examples:
  186. To reset a user's password:
  187. dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
  188. -pwd A1b2C3d4 -mustchpwd yes
  189. To reset multiple user passwords to a common password
  190. and force them to change their passwords the next time they logon:
  191. dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
  192. "CN=Jane Doe,CN=Users,DC=microsoft,DC=com" -pwd A1b2C3d4 -mustchpwd yes
  193. To disable multiple user accounts at the same time:
  194. dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
  195. "CN=Jane Doe,CN=Users,DC=microsoft,DC=com" -disabled yes
  196. To modify the profile path of multiple users to a common path using the
  197. $username$ token:
  198. dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
  199. "CN=Jane Doe,CN=Users,DC=microsoft,DC=com" -profile \users\$username$\profile
  200. .
  201. MessageId=9
  202. SymbolicName=USAGE_DSMOD_USER_SEE_ALSO
  203. Language=English
  204. See also:
  205. dsmod computer /? - help for modifying an existing computer in the directory.
  206. dsmod contact /? - help for modifying an existing contact in the directory.
  207. dsmod group /? - help for modifying an existing group in the directory.
  208. dsmod ou /? - help for modifying an existing ou in the directory.
  209. dsmod server /? - help for modifying an existing domain controller in the
  210. directory.
  211. dsmod user /? - help for modifying an existing user in the directory.
  212. dsmod quota /? - help for modifying an existing quota specification in the
  213. directory
  214. dsmod partition /? - help for modifying an existing partition in the
  215. directory
  216. Directory Service command-line tools help:
  217. dsadd /? - help for adding objects.
  218. dsget /? - help for displaying objects.
  219. dsmod /? - help for modifying objects.
  220. dsmove /? - help for moving objects.
  221. dsquery /? - help for finding objects matching search criteria.
  222. dsrm /? - help for deleting objects.
  223. .
  224. MessageId=10
  225. SymbolicName=USAGE_DSMOD_COMPUTER_DESCRIPTION
  226. Language=English
  227. Description: Modifies an existing computer in the directory.
  228. .
  229. MessageId=11
  230. SymbolicName=USAGE_DSMOD_COMPUTER_SYNTAX
  231. Language=English
  232. Syntax: dsmod computer <ComputerDN ...> [-desc <Description>]
  233. [-loc <Location>] [-disabled {yes | no}] [-reset]
  234. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  235. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  236. .
  237. MessageId=12
  238. SymbolicName=USAGE_DSMOD_COMPUTER_PARAMETERS
  239. Language=English
  240. Parameters:
  241. Value Description
  242. <ComputerDN ...> Required/stdin. Distinguished names (DNs) of one
  243. or more computers to modify.
  244. If target objects are omitted they
  245. will be taken from standard input (stdin)
  246. to support piping of output from another command
  247. to input of this command.
  248. -desc <Description> Sets computer description to <Description>.
  249. -loc <Location> Sets the location of the computer object to
  250. <Location>.
  251. -disabled {yes | no} Sets whether the computer account is disabled (yes)
  252. or not (no).
  253. -reset Resets computer account.
  254. {-s <Server> | -d <Domain>}
  255. -s <Server> connects to the domain controller (DC)
  256. with name <Server>.
  257. -d <Domain> connects to a DC in domain <Domain>.
  258. Default: a DC in the logon domain.
  259. -u <UserName> Connect as <UserName>. Default: the logged in user.
  260. User name can be: user name, domain\user name,
  261. or user principal name (UPN).
  262. -p <Password> Password for the user <UserName>. If * then prompt
  263. for password.
  264. -c Continuous operation mode. Reports errors but
  265. continues with next object in argument list when
  266. multiple target objects are specified.
  267. Without this option, the command exits on first
  268. error.
  269. -q Quiet mode: suppress all output to standard output.
  270. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  271. formatted in Unicode.
  272. -uco Specifies that output to pipe or file is
  273. formatted in Unicode.
  274. -uci Specifies that input from pipe or file is
  275. formatted in Unicode.
  276. .
  277. MessageId=13
  278. SymbolicName=USAGE_DSMOD_COMPUTER_REMARKS
  279. Language=English
  280. Remarks:
  281. If a value that you supply contains spaces, use quotation marks
  282. around the text
  283. (for example, "CN=DC2,OU=Domain Controllers,DC=microsoft,DC=com").
  284. If you enter multiple values, the values must be separated by spaces
  285. (for example, a list of distinguished names).
  286. .
  287. MessageId=14
  288. SymbolicName=USAGE_DSMOD_COMPUTER_EXAMPLES
  289. Language=English
  290. Examples:
  291. To disable multiple computer accounts:
  292. dsmod computer CN=MemberServer1,CN=Computers,DC=microsoft,DC=com
  293. CN=MemberServer2,CN=Computers,DC=microsoft,DC=com
  294. -disabled yes
  295. To reset multiple computer accounts:
  296. dsmod computer CN=MemberServer1,CN=Computers,DC=microsoft,DC=com
  297. CN=MemberServer2,CN=Computers,DC=microsoft,DC=com -reset
  298. .
  299. MessageId=15
  300. SymbolicName=USAGE_DSMOD_COMPUTER_SEE_ALSO
  301. Language=English
  302. See also:
  303. dsmod computer /? - help for modifying an existing computer in the directory.
  304. dsmod contact /? - help for modifying an existing contact in the directory.
  305. dsmod group /? - help for modifying an existing group in the directory.
  306. dsmod ou /? - help for modifying an existing ou in the directory.
  307. dsmod server /? - help for modifying an existing domain controller in the
  308. directory.
  309. dsmod user /? - help for modifying an existing user in the directory.
  310. dsmod quota /? - help for modifying an existing quota specification in the
  311. directory
  312. dsmod partition /? - help for modifying an existing partition in the
  313. directory
  314. Directory Service command-line tools help:
  315. dsadd /? - help for adding objects.
  316. dsget /? - help for displaying objects.
  317. dsmod /? - help for modifying objects.
  318. dsmove /? - help for moving objects.
  319. dsquery /? - help for finding objects matching search criteria.
  320. dsrm /? - help for deleting objects.
  321. .
  322. MessageId=16
  323. SymbolicName=USAGE_DSMOD_GROUP_DESCRIPTION
  324. Language=English
  325. Description: Modifies an existing group in the directory.
  326. .
  327. MessageId=17
  328. SymbolicName=USAGE_DSMOD_GROUP_SYNTAX
  329. Language=English
  330. Syntax: dsmod group <GroupDN ...> [-samid <SAMName>]
  331. [-desc <Description>] [-secgrp {yes | no}] [-scope {l | g | u}]
  332. [{-addmbr | -rmmbr | -chmbr} <Member ...>]
  333. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  334. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  335. .
  336. MessageId=18
  337. SymbolicName=USAGE_DSMOD_GROUP_PARAMETERS
  338. Language=English
  339. Parameters:
  340. Value Description
  341. <GroupDN ...> Required/stdin. Distinguished names (DNs) of
  342. one or more groups to modify.
  343. If target objects are omitted they
  344. will be taken from standard input (stdin)
  345. to support piping of output from another command
  346. to input of this command.
  347. If <GroupDN ...> and <Member ...> are used
  348. together then only one parameter can
  349. be taken from standard input, requiring that at
  350. least one parameter be specified on the command line.
  351. -samid <SAMName> Sets the SAM account name of group to <SAMName>.
  352. -desc <Description> Sets group description to <Description>.
  353. -secgrp {yes | no} Sets the group type to security (yes)
  354. or non-security (no).
  355. -scope {l | g | u} Sets the scope of group to local (l),
  356. global (g), or universal (u).
  357. {-addmbr | -rmmbr | -chmbr}
  358. -addmbr adds members to the group.
  359. -rmmbr removes members from the group.
  360. -chmbr changes (replaces) the complete list of
  361. members in the group.
  362. <Member ...> Space-separated list of members to add to,
  363. delete from, or replace in the group.
  364. If target objects are omitted, they
  365. will be taken from standard input (stdin)
  366. to support piping of output from another command
  367. to input of this command.
  368. The list of members must follow the
  369. -addmbr, -rmmbr, and -chmbr parameters.
  370. If <GroupDN ...> and <Member ...> are used
  371. together then only one parameter can
  372. be taken from standard input, requiring that at
  373. least one parameter be specified on the command line.
  374. {-s <Server> | -d <Domain>}
  375. -s <Server> connects to the domain controller (DC)
  376. with name <Server>.
  377. -d <Domain> connects to a DC in domain <Domain>.
  378. Default: a DC in the logon domain.
  379. -u <UserName> Connect as <UserName>. Default: the logged in user.
  380. User name can be: user name, domain\user name,
  381. or user principal name (UPN).
  382. -p <Password> Password for the user <UserName>. If * then prompt
  383. for password.
  384. -c Continuous operation mode. Reports errors but
  385. continues
  386. with next object in argument list when multiple
  387. target objects are specified. Without this option,
  388. the command exits on first error.
  389. -q Quiet mode: suppress all output to standard output.
  390. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  391. formatted in Unicode.
  392. -uco Specifies that output to pipe or file is
  393. formatted in Unicode.
  394. -uci Specifies that input from pipe or file is
  395. formatted in Unicode.
  396. .
  397. MessageId=19
  398. SymbolicName=USAGE_DSMOD_GROUP_REMARKS
  399. Language=English
  400. Remarks:
  401. If a value that you supply contains spaces, use quotation marks
  402. around the text
  403. (for example, "CN=USA Sales,OU=Distribution Lists,DC=microsoft,DC=com").
  404. If you enter multiple values, the values must be separated by spaces
  405. (for example, a list of distinguished names).
  406. .
  407. MessageId=20
  408. SymbolicName=USAGE_DSMOD_GROUP_EXAMPLES
  409. Language=English
  410. Examples:
  411. To add the user Mike Danseglio to all administrator
  412. distribution list groups:
  413. dsquery group "OU=Distribution Lists,DC=microsoft,DC=com" -name adm* |
  414. dsmod group -addmbr "CN=Mike Danseglio,CN=Users,DC=microsoft,DC=com"
  415. To add all members of the US Info group to the Cananda Info group:
  416. dsget group "CN=US INFO,OU=Distribution Lists,DC=microsoft,DC=com" -members |
  417. dsmod group "CN=CANADA INFO,OU=Distribution Lists,DC=microsoft,DC=com"
  418. -addmbr
  419. To convert the group type of several groups from "security" to
  420. "non-security":
  421. dsmod group "CN=US INFO,OU=Distribution Lists,DC=microsoft,DC=com"
  422. "CN=CANADA INFO,OU=Distribution Lists,DC=microsoft,DC=com"
  423. "CN=MEXICO INFO,OU=Distribution Lists,DC=microsoft,DC=com" -secgrp no
  424. To add three new members to the US Info group:
  425. dsmod group "CN=US INFO,OU=Distribution Lists,DC=microsoft,DC=com" -addmbr
  426. "CN=John Smith,CN=Users,DC=microsoft,DC=com"
  427. "CN=Datacenter,OU=Distribution Lists,DC=microsoft,DC=com"
  428. "CN=Jane Smith,CN=Users,DC=microsoft,DC=com"
  429. To add all users from the OU "Marketing" to the exisitng group
  430. "Marketing Staff":
  431. dsquery user ou=Marketing,dc=microsoft,dc=com | dsmod group
  432. "cn=Marketing Staff,ou=Marketing,dc=microsoft,dc=com" -addmbr
  433. To delete two members from the exisitng US Info group:
  434. dsmod group "CN=US INFO,OU=Distribution Lists,DC=microsoft,DC=com" -rmmbr
  435. "CN=John Smith,CN=Users,DC=microsoft,DC=com"
  436. "CN=Datacenter,OU=Distribution Lists,DC=microsoft,DC=com"
  437. .
  438. MessageId=21
  439. SymbolicName=USAGE_DSMOD_GROUP_SEE_ALSO
  440. Language=English
  441. See also:
  442. dsmod computer /? - help for modifying an existing computer in the directory.
  443. dsmod contact /? - help for modifying an existing contact in the directory.
  444. dsmod group /? - help for modifying an existing group in the directory.
  445. dsmod ou /? - help for modifying an existing ou in the directory.
  446. dsmod server /? - help for modifying an existing domain controller in the
  447. directory.
  448. dsmod user /? - help for modifying an existing user in the directory.
  449. dsmod quota /? - help for modifying an existing quota specification in the
  450. directory
  451. dsmod partition /? - help for modifying an existing partition in the
  452. directory
  453. Directory Service command-line tools help:
  454. dsadd /? - help for adding objects.
  455. dsget /? - help for displaying objects.
  456. dsmod /? - help for modifying objects.
  457. dsmove /? - help for moving objects.
  458. dsquery /? - help for finding objects matching search criteria.
  459. dsrm /? - help for deleting objects.
  460. .
  461. MessageId=22
  462. SymbolicName=USAGE_DSMOD_OU_DESCRIPTION
  463. Language=English
  464. Description: Modifies an existing organizational unit in the
  465. directory.
  466. .
  467. MessageId=23
  468. SymbolicName=USAGE_DSMOD_OU_SYNTAX
  469. Language=English
  470. Syntax: dsmod ou <OrganizationalUnitDN ...> [-desc <Description>]
  471. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  472. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  473. .
  474. MessageId=24
  475. SymbolicName=USAGE_DSMOD_OU_PARAMETERS
  476. Language=English
  477. Parameters:
  478. Value Description
  479. <OrganizationalUnitDN ...>
  480. Required/stdin. Distinguished names (DNs)
  481. of one or more organizational units (OUs) to modify.
  482. If target objects are omitted they
  483. will be taken from standard input (stdin)
  484. to support piping of output from another command
  485. to input of this command.
  486. -desc <Description> Sets OU description to <Description>.
  487. {-s <Server> | -d <Domain>}
  488. -s <Server> connects to the domain controller (DC)
  489. with name <Server>.
  490. -d <Domain> connects to a DC in domain <Domain>.
  491. Default: a DC in the logon domain.
  492. -u <UserName> Connect as <UserName>. Default: the logged in user.
  493. User name can be: user name, domain\user name,
  494. or user principal name (UPN).
  495. -p <Password> Password for the user <UserName>. If * then prompt
  496. for password.
  497. -c Continuous operation mode. Reports errors but
  498. continues with next object in argument list when
  499. multiple target objects are specified.
  500. Without this option, the command exits on first
  501. error.
  502. -q Quiet mode: suppress all output to standard output.
  503. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  504. formatted in Unicode.
  505. -uco Specifies that output to pipe or file is
  506. formatted in Unicode.
  507. -uci Specifies that input from pipe or file is
  508. formatted in Unicode.
  509. .
  510. MessageId=25
  511. SymbolicName=USAGE_DSMOD_OU_REMARKS
  512. Language=English
  513. Remarks:
  514. If a value that you supply contains spaces, use quotation marks
  515. around the text (for example, "OU=Domain Controllers,DC=microsoft,DC=com").
  516. If you enter multiple values, the values must be separated by spaces
  517. (for example, a list of distinguished names).
  518. .
  519. MessageId=26
  520. SymbolicName=USAGE_DSMOD_OU_EXAMPLES
  521. Language=English
  522. Examples:
  523. To change the description of several OUs at the same time:
  524. dsmod ou "OU=Domain Controllers,DC=microsoft,DC=com"
  525. "OU=Resources,DC=microsoft,DC=com"
  526. "OU=troubleshooting,DC=microsoft,DC=com" -desc "This is a test OU"
  527. .
  528. MessageId=27
  529. SymbolicName=USAGE_DSMOD_OU_SEE_ALSO
  530. Language=English
  531. See also:
  532. dsmod computer /? - help for modifying an existing computer in the directory.
  533. dsmod contact /? - help for modifying an existing contact in the directory.
  534. dsmod group /? - help for modifying an existing group in the directory.
  535. dsmod ou /? - help for modifying an existing ou in the directory.
  536. dsmod server /? - help for modifying an existing domain controller in the
  537. directory.
  538. dsmod user /? - help for modifying an existing user in the directory.
  539. dsmod quota /? - help for modifying an existing quota specification in the
  540. directory
  541. dsmod partition /? - help for modifying an existing partition in the
  542. directory
  543. Directory Service command-line tools help:
  544. dsadd /? - help for adding objects.
  545. dsget /? - help for displaying objects.
  546. dsmod /? - help for modifying objects.
  547. dsmove /? - help for moving objects.
  548. dsquery /? - help for finding objects matching search criteria.
  549. dsrm /? - help for deleting objects.
  550. .
  551. MessageId=28
  552. SymbolicName=USAGE_DSMOD_CONTACT_DESCRIPTION
  553. Language=English
  554. Description: Modify an existing contact in the directory.
  555. .
  556. MessageId=29
  557. SymbolicName=USAGE_DSMOD_CONTACT_SYNTAX
  558. Language=English
  559. Syntax: dsmod contact <ContactDN ...> [-fn <FirstName>] [-mi <Initial>]
  560. [-ln <LastName>] [-display <DisplayName>] [-desc <Description>]
  561. [-office <Office>] [-tel <Phone#>] [-email <Email>]
  562. [-hometel <HomePhone#>] [-pager <Pager#>] [-mobile <CellPhone#>]
  563. [-fax <Fax#>] [-iptel <IPPhone#>] [-title <Title>]
  564. [-dept <Department>] [-company <Company>]
  565. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  566. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  567. .
  568. MessageId=30
  569. SymbolicName=USAGE_DSMOD_CONTACT_PARAMETERS
  570. Language=English
  571. Parameters:
  572. Value Description
  573. <ContactDN ...> Required/stdin. Distinguished names (DNs)
  574. of one or more contacts to modify.
  575. If target objects are omitted they
  576. will be taken from standard input (stdin)
  577. to support piping of output from another
  578. command to input of this command.
  579. -fn <FirstName> Sets contact first name to <FirstName>.
  580. -mi <Initial> Sets contact middle initial to <Initial>.
  581. -ln <LastName> Sets contact last name to <LastName>.
  582. -display <DisplayName> Sets contact display name to <DisplayName>.
  583. -desc <Description> Sets contact description to <Description>.
  584. -office <Office> Sets contact office location to <Office>.
  585. -tel <Phone#> Sets contact telephone# to <Phone#>.
  586. -email <Email> Sets contact e-mail address to <Email>.
  587. -hometel <HomePhone#> Sets contact home phone# to <HomePhone#>.
  588. -pager <Pager#> Sets contact pager# to <Pager#>.
  589. -mobile <CellPhone#> Sets contact mobile# to <CellPhone#>.
  590. -fax <Fax#> Sets contact fax# to <Fax#>.
  591. -iptel <IPPhone#> Sets contact IP phone# to <IPPhone#>.
  592. -title <Title> Sets contact title to <Title>.
  593. -dept <Department> Sets contact department to <Department>.
  594. -company <Company> Sets contact company info to <Company>.
  595. {-s <Server> | -d <Domain>}
  596. -s <Server> connects to the domain controller (DC)
  597. with name <Server>.
  598. -d <Domain> connects to a DC in domain <Domain>.
  599. Default: a DC in the logon domain.
  600. -u <UserName> Connect as <UserName>. Default: the logged in user.
  601. User name can be: user name, domain\user name,
  602. or user principal name (UPN).
  603. -p <Password> Password for the user <UserName>. If * then prompt
  604. for password.
  605. -c Continuous operation mode. Reports errors but
  606. continues with next object in argument list when
  607. multiple target objects are specified. Without
  608. this option, the command exits on first error.
  609. -q Quiet mode: suppress all output to standard output.
  610. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  611. formatted in Unicode.
  612. -uco Specifies that output to pipe or file is
  613. formatted in Unicode.
  614. -uci Specifies that input from pipe or file is
  615. formatted in Unicode.
  616. .
  617. MessageId=31
  618. SymbolicName=USAGE_DSMOD_CONTACT_REMARKS
  619. Language=English
  620. Remarks:
  621. If a value that you supply contains spaces, use quotation marks
  622. around the text (for example,
  623. "CN=John Smith,OU=Contacts,DC=microsoft,DC=com").
  624. If you enter multiple values, the values must be separated by spaces
  625. (for example, a list of distinguished names).
  626. .
  627. MessageId=32
  628. SymbolicName=USAGE_DSMOD_CONTACT_EXAMPLES
  629. Language=English
  630. Examples:
  631. To set the company information of multiple contacts:
  632. dsmod contact "CN=John Doe,OU=Contacts,DC=microsoft,DC=com"
  633. "CN=Jane Doe,OU=Contacts,DC=microsoft,DC=com" -company microsoft
  634. .
  635. MessageId=33
  636. SymbolicName=USAGE_DSMOD_CONTACT_SEE_ALSO
  637. Language=English
  638. See also:
  639. dsmod computer /? - help for modifying an existing computer in the directory.
  640. dsmod contact /? - help for modifying an existing contact in the directory.
  641. dsmod group /? - help for modifying an existing group in the directory.
  642. dsmod ou /? - help for modifying an existing ou in the directory.
  643. dsmod server /? - help for modifying an existing domain controller in the
  644. directory.
  645. dsmod user /? - help for modifying an existing user in the directory.
  646. dsmod quota /? - help for modifying an existing quota specification in the
  647. directory
  648. dsmod partition /? - help for modifying an existing partition in the
  649. directory
  650. Directory Service command-line tools help:
  651. dsadd /? - help for adding objects.
  652. dsget /? - help for displaying objects.
  653. dsmod /? - help for modifying objects.
  654. dsmove /? - help for moving objects.
  655. dsquery /? - help for finding objects matching search criteria.
  656. dsrm /? - help for deleting objects.
  657. .
  658. MessageId=34
  659. SymbolicName=USAGE_DSMOD_SUBNET_DESCRIPTION
  660. Language=English
  661. Description: Modifies an existing subnet in the directory.
  662. .
  663. MessageId=35
  664. SymbolicName=USAGE_DSMOD_SUBNET_SYNTAX
  665. Language=English
  666. Syntax: dsmod subnet <SubnetCN ...> [-desc <Description>]
  667. [-loc <Location>]
  668. [-site <SiteName>] [{-s <Server> | -d <Domain>}] [-u <UserName>]
  669. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  670. .
  671. MessageId=36
  672. SymbolicName=USAGE_DSMOD_SUBNET_PARAMETERS
  673. Language=English
  674. Parameters:
  675. Value Description
  676. <SubnetCN ...> Required/stdin. Common name (CN) of one
  677. or more subnets to modify.
  678. If target objects are omitted they
  679. will be taken from standard input (stdin)
  680. to support piping of output from another
  681. command to input of this command.
  682. -desc <Description> Sets subnet description to <Description>.
  683. -loc <Location> Sets subnet location to <Location>.
  684. -site <SiteName> Sets the associated site for the subnet to
  685. <SiteName>.
  686. {-s <Server> | -d <Domain>}
  687. -s <Server> connects to the domain controller (DC)
  688. with name <Server>.
  689. -d <Domain> connects to a DC in domain <Domain>.
  690. Default: a DC in the logon domain.
  691. -u <UserName> Connect as <UserName>. Default: the logged in user.
  692. User name can be: user name, domain\user name,
  693. or user principal name (UPN).
  694. -p <Password> Password for the user <UserName>. If * then prompt
  695. for password.
  696. -c Continuous operation mode. Reports errors but
  697. continues with next object in argument list when
  698. multiple target objects are specified. Without
  699. this option, the command exits on first error.
  700. -q Quiet mode: suppress all output to standard output.
  701. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  702. formatted in Unicode.
  703. -uco Specifies that output to pipe or file is
  704. formatted in Unicode.
  705. -uci Specifies that input from pipe or file is
  706. formatted in Unicode.
  707. .
  708. MessageId=37
  709. SymbolicName=USAGE_DSMOD_SUBNET_REMARKS
  710. Language=English
  711. Remarks:
  712. If a value that you supply contains spaces, use quotation marks
  713. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  714. If you enter multiple values, the values must be separated by spaces
  715. (for example, a list of distinguished names).
  716. .
  717. MessageId=38
  718. SymbolicName=USAGE_DSMOD_SUBNET_EXAMPLES
  719. Language=English
  720. Examples:
  721. To modify the descriptions for the subnet "123.56.15.0/24":
  722. dsget subnet "123.56.15.0/24" -desc "test lab"
  723. See also:
  724. dsmod computer /? - help for modifying an existing computer in the directory.
  725. dsmod contact /? - help for modifying an existing contact in the directory.
  726. dsmod group /? - help for modifying an existing group in the directory.
  727. dsmod ou /? - help for modifying an existing ou in the directory.
  728. dsmod server /? - help for modifying an existing domain controller in the
  729. directory.
  730. dsmod user /? - help for modifying an existing user in the directory.
  731. dsmod quota /? - help for modifying an existing quota specification in the
  732. directory
  733. dsmod partition /? - help for modifying an existing partition in the
  734. directory
  735. Directory Service command-line tools help:
  736. dsadd /? - help for adding objects.
  737. dsget /? - help for displaying objects.
  738. dsmod /? - help for modifying objects.
  739. dsmove /? - help for moving objects.
  740. dsquery /? - help for finding objects matching search criteria.
  741. dsrm /? - help for deleting objects.
  742. .
  743. MessageId=39
  744. SymbolicName=USAGE_DSMOD_SITE_DESCRIPTION
  745. Language=English
  746. Descripton: Modifies an existing site in the directory.
  747. .
  748. MessageId=40
  749. SymbolicName=USAGE_DSMOD_SITE_SYNTAX
  750. Language=English
  751. Syntax: dsmod site <SiteCN ...> [-desc <Description>]
  752. [-autotopology {yes | no}] [-cachegroups {yes | no}]
  753. [-prefGCsite <SiteName>] [{-s <Server> | -d <Domain>}]
  754. [-u <UserName>] [-p {<Password> | *}] [-c] [-q]
  755. [{-uc | -uco | -uci}]
  756. .
  757. MessageId=41
  758. SymbolicName=USAGE_DSMOD_SITE_PARAMETERS
  759. Language=English
  760. Parameters:
  761. Value Description
  762. <SiteCN ...> Required/stdin. Common name (CN) of one or more sites to modify.
  763. If target objects are omitted they
  764. will be taken from standard input (stdin)
  765. to support piping of output from another
  766. command to input of this command.
  767. -desc <Description> Sets site description to <Description>.
  768. -autotopology {yes | no}
  769. Sets whether automatic inter-site topology generation
  770. is enabled (yes) or disabled (no).
  771. Default: yes.
  772. -cachegroups {yes | no}
  773. Sets whether caching of group membership for users
  774. to support GC-less logon is enabled (yes)
  775. or not (no).
  776. Default: no.
  777. This setting is supported only on
  778. Windows Server 2003 family domain controllers.
  779. -prefGCsite <SiteName> Sets the preferred GC site to <SiteName> if caching
  780. of groups is enabled via the -cachegroups parameter.
  781. This setting is supported only on
  782. Windows Server 2003 family domain controllers.
  783. {-s <Server> | -d <Domain>}
  784. -s <Server> connects to the domain controller (DC)
  785. with name <Server>.
  786. -d <Domain> connects to a DC in domain <Domain>.
  787. Default: a DC in the logon domain.
  788. -u <UserName> Connect as <UserName>. Default: the logged in user.
  789. User name can be: user name, domain\user name,
  790. or user principal name (UPN).
  791. -p <Password> Password for the user <UserName>. If * then prompt
  792. for password.
  793. -c Continuous operation mode. Reports errors but
  794. continues with next object in argument list when
  795. multiple target objects are specified. Without
  796. this option, the command exits on first error.
  797. -q Quiet mode: suppress all output to standard output.
  798. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  799. formatted in Unicode.
  800. -uco Specifies that output to pipe or file is
  801. formatted in Unicode.
  802. -uci Specifies that input from pipe or file is
  803. formatted in Unicode.
  804. .
  805. MessageId=42
  806. SymbolicName=USAGE_DSMOD_SITE_REMARKS
  807. Language=English
  808. Remarks:
  809. If a value that you supply contains spaces, use quotation marks
  810. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  811. If you enter multiple values, the values must be separated by spaces
  812. (for example, a list of distinguished names).
  813. .
  814. MessageId=43
  815. SymbolicName=USAGE_DSMOD_SITE_SEE_ALSO
  816. Language=English
  817. See also:
  818. dsmod computer /? - help for modifying an existing computer in the directory.
  819. dsmod contact /? - help for modifying an existing contact in the directory.
  820. dsmod group /? - help for modifying an existing group in the directory.
  821. dsmod ou /? - help for modifying an existing ou in the directory.
  822. dsmod server /? - help for modifying an existing domain controller in the
  823. directory.
  824. dsmod user /? - help for modifying an existing user in the directory.
  825. dsmod quota /? - help for modifying an existing quota specification in the
  826. directory
  827. dsmod partition /? - help for modifying an existing partition in the
  828. directory
  829. Directory Service command-line tools help:
  830. dsadd /? - help for adding objects.
  831. dsget /? - help for displaying objects.
  832. dsmod /? - help for modifying objects.
  833. dsmove /? - help for moving objects.
  834. dsquery /? - help for finding objects matching search criteria.
  835. dsrm /? - help for deleting objects.
  836. .
  837. MessageId=44
  838. SymbolicName=USAGE_DSMOD_SLINK_DESCRIPTION
  839. Language=English
  840. Description: Modifies an existing site link in the directory.
  841. The are two variations of this command.
  842. The first variation allows you to modify the properties
  843. of multiple site links. The second variation allows
  844. you to modify the sites of a single site link.
  845. .
  846. MessageId=45
  847. SymbolicName=USAGE_DSMOD_SLINK_SYNTAX
  848. Language=English
  849. Syntax: dsmod slink <SlinkCN ...> [-transport {ip | smtp}] [-cost <Cost>]
  850. [-replint <ReplInterval>] [-desc <Description>]
  851. [-autobacksync {yes | no}] [-notify {yes | no}]
  852. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  853. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  854. dsmod slink <SlinkCN> <SiteCN ...> {-addsite | -rmsite | -chsite}
  855. [-transport {ip | smtp}] [{-s <Server> | -d <Domain>}]
  856. [-u <UserName>] [-p {<Password> | *}] [-c] [-q]
  857. [{-uc | -uco | -uci}]
  858. .
  859. MessageId=46
  860. SymbolicName=USAGE_DSMOD_SLINK_PARAMETERS
  861. Language=English
  862. Parameters:
  863. Value Description
  864. <SlinkCN ...> Required/stdin. Common name (CN) of one
  865. or more site links to modify.
  866. If target objects are omitted they
  867. will be taken from standard input (stdin)
  868. to support piping of output from another
  869. command to input of this command.
  870. -transport {ip | smtp} Sets site link transport type: IP or SMTP.
  871. Default: IP.
  872. -cost <Cost> Sets site link cost to the value <Cost>.
  873. -replint <ReplInterval>
  874. Sets replication interval to <ReplInterval>
  875. minutes.
  876. -desc <Description> Sets site link description to <Description>
  877. -autobacksync yes|no Sets if the two-way sync option should be turned
  878. on (yes) or not (no).
  879. -notify yes|no Sets if notification by source on this link should
  880. be turned on (yes) or off (no).
  881. {-addsite | -rmsite | -chsite}
  882. -addsite adds sites to the site link.
  883. -rmsite removes sites from the site link.
  884. -chsite changes (replaces) the complete list of sites
  885. in the site link.
  886. <SlinkCN> Required. CN of sitelink to modify.
  887. <SiteCN ...> Required/stdin. List of sites to add to,
  888. delete from, and replace in the site link.
  889. If target objects are omitted they
  890. will be taken from standard input (stdin).
  891. {-s <Server> | -d <Domain>}
  892. -s <Server> connects to the domain controller (DC)
  893. with name <Server>.
  894. -d <Domain> connects to a DC in domain <Domain>.
  895. Default: a DC in the logon domain.
  896. -u <UserName> Connect as <UserName>. Default: the logged in user.
  897. User name can be: user name, domain\user name,
  898. or user principal name (UPN).
  899. -p <Password> Password for the user <UserName>.
  900. If * then prompt for password.
  901. -c Continuous operation mode. Reports errors but
  902. continues with next object in argument list when
  903. multiple target objects are specified. Without
  904. this option, the command exits on first error.
  905. -q Quiet mode: suppress all output to standard output.
  906. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  907. formatted in Unicode.
  908. -uco Specifies that output to pipe or file is
  909. formatted in Unicode.
  910. -uci Specifies that input from pipe or file is
  911. formatted in Unicode.
  912. .
  913. MessageId=47
  914. SymbolicName=USAGE_DSMOD_SLINK_REMARKS
  915. Language=English
  916. Remarks:
  917. If a value that you supply contains spaces, use quotation marks
  918. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  919. If you enter multiple values, the values must be separated by spaces
  920. (for example, a list of distinguished names).
  921. .
  922. MessageId=48
  923. SymbolicName=USAGE_DSMOD_SLINK_SEE_ALSO
  924. Language=English
  925. See also:
  926. dsmod computer /? - help for modifying an existing computer in the directory.
  927. dsmod contact /? - help for modifying an existing contact in the directory.
  928. dsmod group /? - help for modifying an existing group in the directory.
  929. dsmod ou /? - help for modifying an existing ou in the directory.
  930. dsmod server /? - help for modifying an existing domain controller in the
  931. directory.
  932. dsmod user /? - help for modifying an existing user in the directory.
  933. dsmod quota /? - help for modifying an existing quota specification in the
  934. directory
  935. dsmod partition /? - help for modifying an existing partition in the
  936. directory
  937. Directory Service command-line tools help:
  938. dsadd /? - help for adding objects.
  939. dsget /? - help for displaying objects.
  940. dsmod /? - help for modifying objects.
  941. dsmove /? - help for moving objects.
  942. dsquery /? - help for finding objects matching search criteria.
  943. dsrm /? - help for deleting objects.
  944. .
  945. MessageId=49
  946. SymbolicName=USAGE_DSMOD_SLINKBR_DESCRIPTION
  947. Language=English
  948. Description: Modifies an exsting sitelink bridge in the directory.
  949. The are two variations of this command.
  950. The first variation allows you to modify the properties
  951. of multiple site link bridges. The second variation allows
  952. you to modify the site links of a single site link bridge.
  953. .
  954. MessageId=50
  955. SymbolicName=USAGE_DSMOD_SLINKBR_SYNTAX
  956. Language=English
  957. Syntax: dsmod slinkbr <SlinkbrCN ...> [-transport {ip | smtp}]
  958. [-desc <Description>] [{-s <Server> | -d <Domain>}]
  959. [-u <UserName>] [-p {<Password> | *}] [-c] [-q]
  960. [{-uc | -uco | -uci}]
  961. dsmod slinkbr {-addslink | -rmslink | -chslink}
  962. [-transport {ip | smtp}] <SlinkbrCN> <SitelinkCN ...>
  963. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  964. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  965. .
  966. MessageId=51
  967. SymbolicName=USAGE_DSMOD_SLINKBR_PARAMETERS
  968. Language=English
  969. Parameters:
  970. Value Description
  971. <SlinkbrCN ...> Required/stdin. Common name (CN) of one or more
  972. site link bridges to modify.
  973. If target objects are omitted they
  974. will be taken from standard input (stdin)
  975. to support piping of output from another
  976. command to input of this command.
  977. -transport {ip | smtp} Sets site link transport type: ip or smtp.
  978. Default: ip.
  979. -desc <Description> Sets site link bridge description to <Description>.
  980. {-addsite | -rmsite | -chsite}
  981. -addsite adds site link bridges to the site.
  982. -rmsite removes site link bridges from the site.
  983. -chsite replaces the complete list of
  984. site link bridges at the site.
  985. <SlinkbrCN> CN of site link bridges to modify.
  986. <SitelinkCN ...> Required/stdin. List of site link bridges to add to,
  987. delete from, and replace in the site.
  988. If target objects are omitted they
  989. will be taken from standard input (stdin)
  990. to support piping of output from another
  991. command to input of this command.
  992. {-s <Server> | -d <Domain>}
  993. -s <Server> connects to the domain controller (DC)
  994. with name <Server>.
  995. -d <Domain> connects to a DC in domain <Domain>.
  996. Default: a DC in the logon domain.
  997. -u <UserName> Connect as <UserName>. Default: the logged in user.
  998. User name can be: user name, domain\user name,
  999. or user principal name (UPN).
  1000. -p <Password> Password for the user <UserName>.
  1001. If * then prompt for pwd.
  1002. -c Continuous operation mode. Reports errors but
  1003. continues with next object in argument list
  1004. when multiple target objects are specified.
  1005. Without this option, the command exits on first
  1006. error.
  1007. -q Quiet mode: suppress all output to standard output.
  1008. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  1009. formatted in Unicode.
  1010. -uco Specifies that output to pipe or file is
  1011. formatted in Unicode.
  1012. -uci Specifies that input from pipe or file is
  1013. formatted in Unicode.
  1014. .
  1015. MessageId=52
  1016. SymbolicName=USAGE_DSMOD_SLINKBR_REMARKS
  1017. Language=English
  1018. Remarks:
  1019. If a value that you supply contains spaces, use quotation marks
  1020. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  1021. If you enter multiple values, the values must be separated by spaces
  1022. (for example, a list of distinguished names).
  1023. .
  1024. MessageId=53
  1025. SymbolicName=USAGE_DSMOD_SLINKBR_SEE_ALSO
  1026. Language=English
  1027. See also:
  1028. dsmod computer /? - help for modifying an existing computer in the directory.
  1029. dsmod contact /? - help for modifying an existing contact in the directory.
  1030. dsmod group /? - help for modifying an existing group in the directory.
  1031. dsmod ou /? - help for modifying an existing ou in the directory.
  1032. dsmod server /? - help for modifying an existing domain controller in the
  1033. directory.
  1034. dsmod user /? - help for modifying an existing user in the directory.
  1035. dsmod quota /? - help for modifying an existing quota specification in the
  1036. directory
  1037. dsmod partition /? - help for modifying an existing partition in the
  1038. directory
  1039. Directory Service command-line tools help:
  1040. dsadd /? - help for adding objects.
  1041. dsget /? - help for displaying objects.
  1042. dsmod /? - help for modifying objects.
  1043. dsmove /? - help for moving objects.
  1044. dsquery /? - help for finding objects matching search criteria.
  1045. dsrm /? - help for deleting objects.
  1046. .
  1047. MessageId=54
  1048. SymbolicName=USAGE_DSMOD_CONN_DESCRIPTION
  1049. Language=English
  1050. Description: Modifies a replication connection for a DC.
  1051. .
  1052. MessageId=55
  1053. SymbolicName=USAGE_DSMOD_CONN_SYNTAX
  1054. Language=English
  1055. Syntax: dsmod conn <ConnDN ...> [-transport {rpc | ip | smtp}]
  1056. [-enabled {yes | no}] [-desc <Description>] [-manual {yes | no}]
  1057. [-autobacksync {yes | no}] [-notify {yes | no | ""}]
  1058. [{-s <Server> | -d <Domain>}] [-u <UserName>]
  1059. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  1060. .
  1061. MessageId=56
  1062. SymbolicName=USAGE_DSMOD_CONN_PARAMETERS
  1063. Language=English
  1064. Parameters:
  1065. Value Description
  1066. <ConnDN ...> Required/stdin. Distinguished names (DNs)
  1067. of one or more connections to modify.
  1068. If target objects are omitted they
  1069. will be taken from standard input (stdin)
  1070. to support piping of output from another
  1071. command to input of this command.
  1072. -transport {rpc | ip | smtp}
  1073. Sets the transport type for this connection:
  1074. rpc, ip or smtp. Default: ip.
  1075. -enabled {yes | no} Sets whether the connection is enabled (yes)
  1076. or not (no).
  1077. -desc <Description> Sets the connection description to <Description>.
  1078. -manual {yes | no} Sets the connection to manual control (yes) or
  1079. automatic directory service control (no).
  1080. -autobacksync {yes | no} Sets the two-way sync option on (yes) or
  1081. not (no).
  1082. -notify {yes | no | ""} Sets the notification by source on (yes),
  1083. off (no), or to standard practice ("").
  1084. Default: "".
  1085. {-s <Server> | -d <Domain>}
  1086. -s <Server> connects to the domain controller
  1087. (DC) with name <Server>.
  1088. -d <Domain> connects to a DC in domain <Domain>.
  1089. Default: a DC in the logon domain.
  1090. -u <UserName> Connect as <UserName>. Default: the logged in
  1091. user.
  1092. User name can be: user name, domain\user name,
  1093. or user principal name (UPN).
  1094. -p <Password> Password for the user <UserName>.
  1095. If * then prompt for pwd.
  1096. -c Continuous operation mode. Reports errors but
  1097. continues with next object in argument list
  1098. when multiple target objects are specified.
  1099. Without this option, the command exits on first
  1100. error.
  1101. -q Quiet mode: suppress all output to standard
  1102. output.
  1103. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe
  1104. is formatted in Unicode.
  1105. -uco Specifies that output to pipe or file is
  1106. formatted in Unicode.
  1107. -uci Specifies that input from pipe or file is
  1108. formatted in Unicode.
  1109. .
  1110. MessageId=57
  1111. SymbolicName=USAGE_DSMOD_CONN_REMARKS
  1112. Language=English
  1113. Remarks:
  1114. If a value that you supply contains spaces, use quotation marks
  1115. around the text (for example, "CN=John Smith,CN=Users,DC=microsoft,DC=com").
  1116. If you enter multiple values, the values must be separated by spaces
  1117. (for example, a list of distinguished names).
  1118. .
  1119. MessageId=58
  1120. SymbolicName=USAGE_DSMOD_CONN_SEE_ALSO
  1121. Language=English
  1122. See also:
  1123. dsmod computer /? - help for modifying an existing computer in the directory.
  1124. dsmod contact /? - help for modifying an existing contact in the directory.
  1125. dsmod group /? - help for modifying an existing group in the directory.
  1126. dsmod ou /? - help for modifying an existing ou in the directory.
  1127. dsmod server /? - help for modifying an existing domain controller in the
  1128. directory.
  1129. dsmod user /? - help for modifying an existing user in the directory.
  1130. dsmod quota /? - help for modifying an existing quota specification in the
  1131. directory
  1132. dsmod partition /? - help for modifying an existing partition in the
  1133. directory
  1134. Directory Service command-line tools help:
  1135. dsadd /? - help for adding objects.
  1136. dsget /? - help for displaying objects.
  1137. dsmod /? - help for modifying objects.
  1138. dsmove /? - help for moving objects.
  1139. dsquery /? - help for finding objects matching search criteria.
  1140. dsrm /? - help for deleting objects.
  1141. .
  1142. MessageId=59
  1143. SymbolicName=USAGE_DSMOD_SERVER_DESCRIPTION
  1144. Language=English
  1145. Description: Modifies properties of a domain controller.
  1146. .
  1147. MessageId=60
  1148. SymbolicName=USAGE_DSMOD_SERVER_SYNTAX
  1149. Language=English
  1150. Syntax: dsmod server <ServerDN ...> [-desc <Description>]
  1151. [-isgc {yes | no}] [{-s <Server> | -d <Domain>}]
  1152. [-u <UserName>] [-p {<Password> | *}] [-c] [-q]
  1153. [{-uc | -uco | -uci}]
  1154. .
  1155. MessageId=61
  1156. SymbolicName=USAGE_DSMOD_SERVER_PARAMETERS
  1157. Language=English
  1158. Parameters:
  1159. Value Description
  1160. <ServerDN ...> Required/stdin. Distinguished names (DNs)
  1161. of one or more servers to modify.
  1162. If target objects are omitted they
  1163. will be taken from standard input (stdin)
  1164. to support piping of output from another
  1165. command to input of this command.
  1166. -desc <Description>
  1167. Sets server description to <Description>.
  1168. -isgc {yes | no} Sets whether this server to a global catalog server
  1169. (yes) or disables it (no).
  1170. {-s <Server> | -d <Domain>}
  1171. -s <Server> connects to the domain controller (DC)
  1172. with name <Server>.
  1173. -d <Domain> connects to a DC in domain <Domain>.
  1174. Default: a DC in the logon domain.
  1175. -u <UserName> Connect as <UserName>. Default: the logged in user.
  1176. User name can be: user name, domain\user name,
  1177. or user principal name (UPN).
  1178. -p <Password> Password for the user <UserName>.
  1179. If * is entered, then you are prompted for a password.
  1180. -c Continuous operation mode. Reports errors but
  1181. continues with next object in argument list
  1182. when multiple target objects are specified.
  1183. Without this option, the command exits on first error.
  1184. -q Quiet mode: suppress all output to standard output.
  1185. {-uc | -uco | -uci} -uc Specifies that input from or output to pipe is
  1186. formatted in Unicode.
  1187. -uco Specifies that output to pipe or file is
  1188. formatted in Unicode.
  1189. -uci Specifies that input from pipe or file is
  1190. formatted in Unicode.
  1191. .
  1192. MessageId=62
  1193. SymbolicName=USAGE_DSMOD_SERVER_REMARKS
  1194. Language=English
  1195. Remarks:
  1196. If a value that you supply contains spaces, use quotation marks
  1197. around the text (for example, "CN=My Server,CN=Servers,CN=Site10,
  1198. CN=Sites,CN=Configuration,DC=microsoft,DC=com").
  1199. If you enter multiple values, the values must be separated by spaces
  1200. (for example, a list of distinguished names).
  1201. .
  1202. MessageId=63
  1203. SymbolicName=USAGE_DSMOD_SERVER_EXAMPLES
  1204. Language=English
  1205. Examples:
  1206. To enable the domain controllers CORPDC1 and CORPDC9 to become global catalog
  1207. servers:
  1208. dsmod server
  1209. "cn=CORPDC1,cn=Servers,cn=site1,cn=sites,cn=configuration,dc=microsoft,dc=com"
  1210. "cn=CORPDC9,cn=Servers,cn=site2,cn=sites,cn=configuration,dc=microsoft,dc=com"
  1211. -isgc yes
  1212. .
  1213. MessageId=64
  1214. SymbolicName=USAGE_DSMOD_SERVER_SEE_ALSO
  1215. Language=English
  1216. See also:
  1217. dsmod computer /? - help for modifying an existing computer in the directory.
  1218. dsmod contact /? - help for modifying an existing contact in the directory.
  1219. dsmod group /? - help for modifying an existing group in the directory.
  1220. dsmod ou /? - help for modifying an existing ou in the directory.
  1221. dsmod server /? - help for modifying an existing domain controller in the
  1222. directory.
  1223. dsmod user /? - help for modifying an existing user in the directory.
  1224. dsmod quota /? - help for modifying an existing quota specification in the
  1225. directory
  1226. dsmod partition /? - help for modifying an existing partition in the
  1227. directory
  1228. Directory Service command-line tools help:
  1229. dsadd /? - help for adding objects.
  1230. dsget /? - help for displaying objects.
  1231. dsmod /? - help for modifying objects.
  1232. dsmove /? - help for moving objects.
  1233. dsquery /? - help for finding objects matching search criteria.
  1234. dsrm /? - help for deleting objects.
  1235. .
  1236. MessageId=65
  1237. SymbolicName=USAGE_DSMOD_QUOTA_DESCRIPTION
  1238. Language=English
  1239. Modifies attributes of one or more existing quota specifications in the
  1240. directory. A quota specification determines the maximum number of directory
  1241. objects a given security principal can own in a specific directory partition.
  1242. .
  1243. MessageId=66
  1244. SymbolicName=USAGE_DSMOD_QUOTA_SYNTAX
  1245. Language=English
  1246. dsmod quota <QuotaDN ...> [-qlimit <Value>]
  1247. [-desc <Description>] [{-s <Server> | -d <Domain>}] [-u <UserName>]
  1248. [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  1249. .
  1250. MessageId=67
  1251. SymbolicName=USAGE_DSMOD_QUOTA_PARAMETERS
  1252. Language=English
  1253. <QuotaDN ...> Specifies the distinguished names of one or more quota
  1254. specifications to modify. If values are omitted, they
  1255. are obtained through standard input (stdin) to support
  1256. piping of output from another command to input of this
  1257. command.
  1258. -qlimit <Value>
  1259. Specifies the number of objects within the
  1260. directory partition that can be owned by the security
  1261. principal to which the quota specification is assigned.
  1262. To specify an unlimited quota, use -1.
  1263. -desc <Description> Sets the description of the quota specification to
  1264. <Description>.
  1265. {-s <Server> | -d <Domain>}
  1266. Connects to a specified remote server or domain. By
  1267. default, the computer is connected to a domain
  1268. controller in the logon domain.
  1269. -u <UserName> Specifies the user name with which the user logs on to
  1270. a remote server. By default, -u uses the user name with
  1271. which the user logged on. You can use any of the
  1272. following formats to specify a user name:
  1273. user name (for example, Linda)
  1274. domain\user name (for example, widgets\Linda)
  1275. user principal name (UPN)
  1276. (for example, Linda@widgets.microsoft.com)
  1277. -p {<Password> | *} Specifies to use either a password or a * to log on to
  1278. a remote server. If you type *, you are prompted for a
  1279. password.
  1280. -c Specifies continuous operation mode. Errors are
  1281. reported, but the process continues with the next
  1282. object in the argument list when you specify multiple
  1283. target objects. If you do not use -c, the command quits
  1284. after the first error occurs.
  1285. -q Suppresses all output to standard output (quiet mode).
  1286. {-uc | -uco | -uci} Specifies that output or input data is formatted in
  1287. Unicode.
  1288. -uc Specifies a Unicode format for input from or
  1289. output to a pipe (|).
  1290. -uco Specifies a Unicode format for output to a
  1291. pipe (|) or a file.
  1292. -uci Specifies a Unicode format for input from a
  1293. pipe (|) or a file.
  1294. .
  1295. MessageId=68
  1296. SymbolicName=USAGE_DSMOD_QUOTA_REMARKS
  1297. Language=English
  1298. Dsmod quota only supports a subset of commonly used object class attributes.
  1299. If a value that you use contains spaces, use quotation marks around the text
  1300. (for example, "CN=DC2,OU=Domain Controllers,DC=Microsoft,DC=Com").
  1301. .
  1302. MessageId=69
  1303. SymbolicName=USAGE_DSMOD_QUOTA_EXAMPLES
  1304. Language=English
  1305. Example:
  1306. To change the quota limit for a quota called DN1 to a value of 100, type:
  1307. dsmod quota DN1 -qlimit 100
  1308. .
  1309. MessageId=70
  1310. SymbolicName=USAGE_DSMOD_QUOTA_SEE_ALSO
  1311. Language=English
  1312. dsmod computer /? - help for modifying an existing computer in the directory.
  1313. dsmod contact /? - help for modifying an existing contact in the directory.
  1314. dsmod group /? - help for modifying an existing group in the directory.
  1315. dsmod ou /? - help for modifying an existing ou in the directory.
  1316. dsmod server /? - help for modifying an existing domain controller in the
  1317. directory.
  1318. dsmod user /? - help for modifying an existing user in the directory.
  1319. dsmod quota /? - help for modifying an existing quota specification in the
  1320. directory
  1321. dsmod partition /? - help for modifying an existing partition in the
  1322. directory
  1323. Directory Service command-line tools help:
  1324. dsadd /? - help for adding objects.
  1325. dsget /? - help for displaying objects.
  1326. dsmod /? - help for modifying objects.
  1327. dsmove /? - help for moving objects.
  1328. dsquery /? - help for finding objects matching search criteria.
  1329. dsrm /? - help for deleting objects.
  1330. .
  1331. MessageId=71
  1332. SymbolicName=USAGE_DSMOD_PARTITION_DESCRIPTION
  1333. Language=English
  1334. Modifies attributes of one or more existing partitions in the directory.
  1335. .
  1336. MessageId=72
  1337. SymbolicName=USAGE_DSMOD_PARTITION_SYNTAX
  1338. Language=English
  1339. dsmod partition <PartitionDN...> [-qdefault <Value>]
  1340. [-qtmbstnwt <Percent>] [{-s <Server> | -d <Domain>}]
  1341. [-u <UserName>] [-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
  1342. .
  1343. MessageId=73
  1344. SymbolicName=USAGE_DSMOD_PARTITION_PARAMETERS
  1345. Language=English
  1346. <PartitionDN...> Specifies the distinguished names of one or more
  1347. partition objects to modify. If values are omitted,
  1348. they are obtained through standard input (stdin) to
  1349. support piping of output from another command as
  1350. input of this command.
  1351. -qdefault <Value> Specifies that the default quota for the directory
  1352. partition be set to Value. The default quota will
  1353. apply to any security principal (user, group, computer,
  1354. or InetOrgPerson) who owns an object in the directory
  1355. partition and for whom more specific quota
  1356. specification exists. Enter -1 to specify an unlimited
  1357. quota.
  1358. -qtmbstawt <Percent> Sets the percentage by which tombstone object count
  1359. should be reduced when calculating quota usage. The
  1360. percentage is specified by <Percent> and must be
  1361. between 0 and 100. For example, a value of 25 means
  1362. that a tombstone object counts as 25%, or 1/4, of a
  1363. normal object when calculating quota usage. If a user
  1364. were assigned a quota of 100, that user could own a
  1365. maximum of 100 normal objects or 400 tombstone objects
  1366. in Active Directory.
  1367. {-s <Server> | -d <Domain>}
  1368. Connects to a specified remote server or domain. By
  1369. default, the computer is connected to a domain
  1370. controller in the logon domain.
  1371. -u <UserName> Specifies the user name with which the user logs on to
  1372. a remote server. By default, -u uses the user name with
  1373. which the user logged on. You can use any of the
  1374. following formats to specify a user name:
  1375. user name (for example, Linda)
  1376. domain\user name (for example, widgets\Linda)
  1377. user principal name (UPN)
  1378. (for example, Linda@widgets.microsoft.com)
  1379. -p {<Password> | *} Specifies to use either a password or a * to log on to
  1380. a remote server. If you type *, you are prompted for a
  1381. password.
  1382. -c Specifies continuous operation mode. Errors are
  1383. reported, but the process continues with the next
  1384. object in the argument list when you specify multiple
  1385. target objects. If you do not use -c, the command quits
  1386. after the first error occurs.
  1387. -q Suppresses all output to standard output (quiet mode).
  1388. {-uc | -uco | -uci} Specifies that output or input data is formatted in
  1389. Unicode.
  1390. -uc Specifies a Unicode format for input from or
  1391. output to a pipe (|).
  1392. -uco Specifies a Unicode format for output to a
  1393. pipe (|) or a file.
  1394. -uci Specifies a Unicode format for input from a
  1395. pipe (|) or a file.
  1396. .
  1397. MessageId=74
  1398. SymbolicName=USAGE_DSMOD_PARTITION_REMARKS
  1399. Language=English
  1400. Dsmod quota only supports a subset of commonly used object class attributes.
  1401. If a value that you use contains spaces, use quotation marks around the text
  1402. (for example, "CN=DC2,OU=Domain Controllers,DC=Microsoft,DC=Com").
  1403. The default quota applies to any security principal (for example, user,
  1404. group, computer, or InetOrgPerson) that creates an object in the directory
  1405. partition when no quota specification exists that covers the security
  1406. principal.
  1407. The default quota for a given directory partition is an attribute
  1408. (ms-DS-Default-Quota) of a special container of class
  1409. ms-DS-Quota-Container, as specified by CN=NTDS
  1410. Quotas,DirectoryParitionRootDN.
  1411. The tombstone quota weight for a given directory partition (set with the
  1412. -qtmbstnwt option) is an attribute (ms-DS-Tombstone-Quota-Factor)
  1413. of a special container of class (ms-DS-Quota-Container), as
  1414. specified by CN=NTDS Quotas,NCRootDN.
  1415. .
  1416. MessageId=75
  1417. SymbolicName=USAGE_DSMOD_PARTITION_EXAMPLES
  1418. Language=English
  1419. Example:
  1420. To change the default quota limit for a directory partition named NC1
  1421. to a value of 1000, type:
  1422. dsmod partition NC1 -qdefault 1000
  1423. .
  1424. MessageId=76
  1425. SymbolicName=USAGE_DSMOD_PARTITION_SEE_ALSO
  1426. Language=English
  1427. dsmod computer /? - help for modifying an existing computer in the directory.
  1428. dsmod contact /? - help for modifying an existing contact in the directory.
  1429. dsmod group /? - help for modifying an existing group in the directory.
  1430. dsmod ou /? - help for modifying an existing ou in the directory.
  1431. dsmod server /? - help for modifying an existing domain controller in the
  1432. directory.
  1433. dsmod user /? - help for modifying an existing user in the directory.
  1434. dsmod quota /? - help for modifying an existing quota specification in the
  1435. directory
  1436. dsmod partition /? - help for modifying an existing partition in the
  1437. directory
  1438. Directory Service command-line tools help:
  1439. dsadd /? - help for adding objects.
  1440. dsget /? - help for displaying objects.
  1441. dsmod /? - help for modifying objects.
  1442. dsmove /? - help for moving objects.
  1443. dsquery /? - help for finding objects matching search criteria.
  1444. dsrm /? - help for deleting objects.
  1445. .