PoshCode Archive  Hex Artifact Content

Artifact d713e1884ea6f8948408874e065cb4310e6103acb1bb8c112ecfb11cf6acbe38:

  • File Remove-Disabled-AD-Users.ps1 — part of check-in [1b809d098b] at 2018-06-10 14:08:38 on branch trunk — This script is a simple one that is meant to be scheduled on a periodic basis (we do it weekly). It looks inthe OU where we put our disabled AD users and removes users that have not logged in (inactive) for 400 days. This allows us to keep terminated employees disabled users for over a year for auditing purposes, but automatically cleans them out once the annual scope has passed. (user: DrDrewl size: 863)

A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.