在PowerShell分別執行下面兩條語句filter
Import-Module ActiveDirectoryword
Get-ADUser -filter * -SearchBase 'OU=OUNAME,DC=DOMAINNAME,DC=DOMAINLOCAL' | Set-ADAccountPassword -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "NEWPASSWORD" -Force)co