Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Disable users who never logged on

$
0
0

Hello,

i run ldap query to find out which users that have never logged on (&(objectCategory=person)(objectClass=user))(|(lastLogon=0)(!(lastLogon=*))). and i found a lot of users. how can i disable all these users by ldap query or power shell

Regards,


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>