Change Password at next logon
Set-ADUser -Identity <samAccountName> -ChangePasswordAtLogon $true
Set-ADUser -Identity JoernWalter -ChangePasswordAtLogon $true
oder alle Benutzer einer OU
Import-Module ActiveDirectory
Get-ADUser -Filter * -SearchBase “OU=TestOU,DC=TestDomain,DC=Local” |
Set-ADUser -ChangePasswordAtLogon:$True