Active Directory change Password from User Accounts
Import-Module ActiveDirectory
$newPassword = ConvertTo-SecureString -AsPlainText “P@ssw456.” -Force
Set-ADAccountPassword -Identity JoernWalter -NewPassword $newPassword -Reset
oder Benutzer einer ganzen OU
Import-Module ActiveDirectory
$newPassword = ConvertTo-SecureString -AsPlainText “P@ssw456.” -Force
Get-ADUser -LDAPfilter ‘(name=*)’`
-SearchBase “OU=TestOU,DC=NDSEDV,DC=de” |
Set-ADAccountPassword -NewPassword $newPassword -Reset