Get-ADUser -Filter * -SearchBase "OU=users, DC=test, DC=com" | Set-ADAccountPassword -Reset -NewPassword (Read-Host -AsSecureString -Prompt "NewPassword")


해당 OU에 있는 사용자의 비밀번호가 NewPassword 로 강제 변경된다.

+ Recent posts