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
 
Back
Top