Hi,
This script will remove the AD user if the login time of the user exceeds after threshold specified days (i.e, 30 days).
i.e, For Example:
rem_value='30' # Provide the days to remove the AD User.
Note:
This script will be run as auto-remediation for "Disable AD User after a threshold day"
https://scripts.itarian.com/frontend/web/topic/disable-ad-user-after-a-threshold-day
Comments