I am trying to configure automatic user account expiration in Windows 2008 R2 Active Directory. I would like i tot use the DSQuery and DSMod commands. I have piped a DSMod in a DSQuery but syntax is wrong. I need it to automatic disable user accounts after 90 days of inactivity. Can someone help?
Thanks in advance.