The below can be run as a scheduled task to detect and disable accounts that have not been used for a specified amount of days or for accounts which have never been used. Report outputs to a CSV and is displayed as follows:
The below can be run as a scheduled task to detect and disable accounts that have not been used for a specified amount of days or for accounts which have never been used. Report outputs to a CSV and is displayed as follows: