已知用户的登录名,创建用户时没添加邮件帐户的值
通过哪个命令,能对用户的邮件地址进行添加,已知用户的登录名。
谢谢!
您好,
我们可以使用PowerShell命令Set-Aduser来修改当前用户的属性。关于该命令的使用方法,我们可以参考下面文章中的示例3(仅英文):
https://docs.microsoft.com/en-us/powershell/module/addsadministration/set-aduser?view=win10-ps
如果需要修改的用户太多,那么我们可能需要使用脚本来完成,我建议您看看下面网站中是否有可以实现您需求的脚本,或者在PowerShell论坛寻求帮助。
https://gallery.technet.microsoft.com/scriptcenter
https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=winserverpowershell
如果有其他可以帮助您的地方,请随时在论坛进行发帖。
感谢您的理解和支持。
William
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.