Goto Top

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


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


Printed on: March 21, 2023 at 07:03 o'clock

Member: colinardo
Solution colinardo Jul 15, 2022 updated at 15:01:43 (UTC)
Goto Top
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.