AD- batch change account password command Set-ADAccountPassword
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)}