由于工作需要一次性增加20個使用者并且需要密碼,下面就把我的操作及檔案分享上來希望對有同樣需要的朋友有幫助。
首先,建立username.csv檔案
使用者名稱,登入名,密碼,姓,名,部門,辦公室,職位,電子郵件
張飛,feizhang,5PVV7%b%,張,飛,行政部,806,職員,[email protected]
劉備,beiliu,5PVV8%b%,劉,備,行政部,807,經理,[email protected]
孫權,quansun,5PVV9%b%,孫,權,行政部,808,職員,[email protected]
張龍,longzhang,5PVV10%b%,張,龍,行政部,809,職員,[email protected]
馬良,liangma,5PVV11%b%,馬,良,行政部,810,職員,[email protected]
孫策,cesun,5PVV12%b%,孫,策,行政部,811,職員,[email protected]
孫亮,liangsun,5PVV13%b%,孫,亮,行政部,812,職員,[email protected]
于吉,jiyu,5PVV14%b%,于,吉,行政部,813,職員,[email protected]
于诠,quanyu,5PVV15%b%,于,诠,财務部,814,經理,[email protected]
黃忠,zhonghuang,5PVV16%b%,黃,忠,财務部,815,職員,[email protected]
關平,pingguan,5PVV17%b%,關,平,财務部,816,職員,[email protected]
關興,xingguan,5PVV18%b%,關,興,财務部,817,職員,[email protected]
孫休,xiusun,5PVV19%b%,孫,休,财務部,818,職員,[email protected]
陳宮,gongcheng,5PVV20%b%,陳,宮,采購部,819,經理,[email protected]
何進,jinhe,5PVV21%b%,何,進,采購部,820,職員,[email protected]
黃祖,zouhuang,5PVV22%b%,黃,祖,采購部,821,職員,[email protected]
張角,jiaozhang,5PVV23%b%,張,角,采購部,822,職員,[email protected]
劉表,biaoliu,5PVV24%b%,劉,表,品管部,823,經理,[email protected]
華雄,xionghua,5PVV25%b%,華,雄,品管部,824,職員,[email protected]
田豐,fengtian,5PVV26%b%,田,豐,品管部,825,職員,[email protected]
大家把以上内容複制到文本,然後另存為username.csv即可。
然後在DC上進入指令行,運作以下指令
沒有錯誤的話,你就可以去users下面看了已經自動加好了20個使用者了。
寫這篇文章希望抛磚引玉,對大家工作中起到真實的幫助。
本文轉自 tao61 部落格,原文連結: http://blog.51cto.com/tao61/314810 如需轉載請自行聯系原作者