邮件服务器-邮件系统-邮件技术论坛(BBS)

标题: [转帖]exchange中能批量建立用户账号 [打印本页]

作者: ququ    时间: 2006-1-4 10:57
标题: [转帖]exchange中能批量建立用户账号
--------------------------------------------------------------------------------<br><br>
原作者:mikezhang<br>
<br>
<br>
ADDUSERS {/c|/d{:u}|/e} filename [/t][/s:x] [/?] [\\computername|domainname] [/p<br>
:{l|c|e|d}]<br>/? Display this help screen.<br>/c Create accounts specified in the file.<br>/d: Write current accounts to the specified file, opt. followed by {:u}.<br>u Write current accounts to the specified file in Unicode text format.<br>/p: Set's account creation options, followed by an comb. of {lced}<br>l Users do not have to change passwords at next logon.<br>c Users cannot change passwords.<br>e Passwords never expire. (implies l option)<br>d Accounts disabled.<br>/e Erase user accounts specified in the file.<br>/s:x Sets the separator character for the input/output file. Replace the<br>x with the character to be used for separating fields. (e.g. /s:~)<br>Note: The separator character is a comma ',' by default.<br>/t Enables Terminal Services user properties to be created or viewed.<br>Use in conjunction with { /c | /d }.<br>
<br>
ex:<br>
>addusers /c filename.opt \\域控制器名 /p:le<br>
添加完所有用户的密码默认是空的!<br><br>

作者: 钉子    时间: 2006-1-5 00:12
标题: re:希望大家能看明白...
希望大家能看明白...
作者: yinjie    时间: 2006-1-5 00:16
标题: re:最关键的部分没写,就是文件的格式。望补充...
最关键的部分没写,就是文件的格式。望补充上。
作者: ququ    时间: 2006-1-5 08:21
标题: re:格式:Syntax is secti...
格式:<br>
Syntax is section-specific for each entry (line) in the different sections, as follows:<br>
<br>
[User]<br>
<br>
UserName,FullName,Password,Comment,HomeDriveAndPath,Profile,Script,<br>
<br>
[Global]<br>
<br>
GlobalGroupName,Comment,UserName, ...<br>
<br>
[Local]<br>
<br>
LocalGroupName,Comment,UserName, ...<br>
<br>
例子:<br>
filename.opt内容如下<br>
[user]<br>
aaa,aaa,aaa,,,,,<br>
bbb,bbb,bbb,,,,,<br>
<br>
在dos下输入命令:<br>
addusers /c filename.opt //server1 /p:le<br>

作者: xiaohui110    时间: 2006-3-3 15:03
标题: re:有脚步吗?
有脚步吗?
作者: hzhu    时间: 2006-3-4 08:27
标题: re:这个是最简单的,有脚本可以做,MS脚本中...
这个是最简单的,有脚本可以做,MS脚本中心有,查下
作者: mkgo    时间: 2006-5-25 15:22
标题: re:顶..有机会试试!
顶..有机会试试!




欢迎光临 邮件服务器-邮件系统-邮件技术论坛(BBS) (http://5dmail.cn/BBS/) Powered by Discuz! X3.2