Get the App
SLTechnology News&Howtos  ›  Servers  › 

AD- batch change account password command Set-ADAccountPassword

Shulou Source: shulou.com Published: 2022-06-02 11:29:59 12月06日 Update

Learn from:

Teacher Xu Peng's AD Powershell series of video courses

Change the password of AD users in bulk

Get-ADUser-SearchBase "ou=Lab,dc=satid,dc=com"-Filter * | foreach {Set-ADAccountPassword-Identity $_ .name-NewPassword (ConvertTo-SecureString abc@123-AsPlainText-Force)}

Tags: Password user teacher video course Xu Peng study command account Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia vpn OPPO Reno Linux macOS