deagle47
Goto Top

Powershell check pwdLastSet and set on "0" for an special OU

Hello,

I'm trying to check the date for the pwdLastSet and to force a new password



but unfortunately I get all users (incl. service account)
i wanted to filter on a database, for example


but it won't work :/



Could someone please help me

Content-Key: 3348715536

Url: https://administrator.de/contentid/3348715536

Printed on: December 4, 2022 at 00:12 o'clock

Member: colinardo
Solution colinardo Jul 15, 2022 updated at 15:01:43 (UTC)
Goto Top
Hi
Regards @colinardo
Member: deagle47
deagle47 Jul 18, 2022 at 05:01:47 (UTC)
Goto Top
@colinardo vielen dank face-smile
funktioniert super!
Member: colinardo
colinardo Jul 18, 2022 updated at 06:55:35 (UTC)
Goto Top
You're welcome. Englisch or German? Please, this is the english board version face-smile.