Expiry of accounts that haven't been used for 45 days

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

Does anyone know how I can expire the accounts that haven't been used for 45
days?

Thanks,
Tony
 
Will the below command works:

dsquery user domainroot -inactive 6 | dsmod user -acctexpires 0

Any idea?

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top