Password Expiring in 30 Days dsquery * -limit 0 -filter "(&(objectCategory=person)(objectClass=user) (userAccountControl:1.2.840.113556.1.4.803:=4194304))" -attr name samaccountname User accounts that are disabled Dsquery *domainroot -filter "(&(objectCategory=Person)(objectClass=User) (userAccountControl:1.2.840.113556.1.4.803:=2))"ĬN=User1,DC=santhosh,DC=la -acctexpiresdsquery * -limit 0 User accounts with no pwd required Dsquery * domainroot -filter "(&(objectCategory=Person)(objectClass=User) Search Password Never Expires Settings Dsquery * -limit 0 "(&(objectCategory=person)(objectClass=user) (userAccountControl:1.2.840.113556.1.4.803:=65536))" -attr samaccountname name Note: Time can be converted using the w32tm /ntte command. (pwdlastset) value Dsquery * -filter "&(objectClass=User)(objectCategory=Person)" -limit 0 -attr name pwdlastset User Identify OCS enabled users in Active Directory Dsquery * -filter (msRTCSIP-UserEnabled=TRUE) -limit 0 -attr name samaccountname
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |