在Windows Server 2008 R2中批量更新指定OU下的所有用户口令
2013-11-08 16:42
344 查看
在PowerShell分别执行下面两条语句
Import-Module ActiveDirectory
Get-ADUser -filter * -SearchBase 'OU=OUNAME,DC=DOMAINNAME,DC=DOMAINLOCAL' | Set-ADAccountPassword -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "NEWPASSWORD" -Force)
Import-Module ActiveDirectory
Get-ADUser -filter * -SearchBase 'OU=OUNAME,DC=DOMAINNAME,DC=DOMAINLOCAL' | Set-ADAccountPassword -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "NEWPASSWORD" -Force)
相关文章推荐
- 在Windows Server 2008 R2中批量更新指定OU下的所有用户口令
- 统一沟通_前端安装配置与批量启用用户之十五_(Windows Server 2008 R2 SP1英文版) 推荐
- windows server 2008 R2 域中用组策略隐藏指定磁盘驱动器(盘符)
- windows server 2008 R2 域中用组策略隐藏指定磁盘驱动器(盘符)
- Windows Server 2008 R2 实现多用户同时登陆
- 适用于 Windows 7 SP1、Windows Server 2008 R2 SP1 和 Windows Server 2008 SP2 的 .NET Framework 4.5.2 仅安全更新说明:2017 年 9 月 12 日
- 【转】Windows Server 2008 R2 实现多用户同时登陆
- Windows Server 2008 R2 多用户实现远程连接登录 远程桌面服务配置和授权激活
- SQL Server 2008 R2 新建用户并指定该用户的数据库
- Windows Server 2008 R2 实现多用户连接远程桌面
- 适用于 Windows 7 SP1 和 Windows Server 2008 R2 SP1 的 .NET Framework 4.6、4.6.1、4.6.2 和 4.7 以及适用于 Windows Server 2008 SP2 的 .NET Framework 4.6 仅安全更新说明:2017 年 9 月 12 日
- AD管理之二,windows server 2008 R2 用户管理 推荐
- 在系统启动时,Windows Vista 中、 在 Windows 7 中,Windows Server 2008 中和在 Windows Server 2008 R2 中的 497 天后未关闭 TIME_WAIT 状态的所有 TCP/IP 端口
- 解决-2008 R2 SP1安装Thinkpad System Update 4无法更新 提示"收集用户信息时出错"
- windows server 2008 R2 远程连接用户数修改
- 用户账户_规划之五_(Windows Server 2008 R2 SP1英文版)
- web开发-阿里云多用户登录Windows server 2008 R2服务器设置-学习笔记十
- SQL Server 2008 R2 新建用户并指定该用户的数据库
- Windows Server 2008 R2 实现多用户同时登陆
- 如何在Windows Server 2008 R2 上添加用户和组及权限问题