hello,
I have a scheduled taske running on a few OUs that will disable and move the account into another OU once the account haven't been logged into for x amount of time. We are now ready to delete some of those accounts that have been disabled for 6 months or more, prior to the actual deletion, but want a report on what's gonna get deleted.
I didn't locate a script in the repository that fulfill this and when I tried to use the scheduled task just to move the accounts to one OU, the option isn't quite there, so powershell to the rescue, right?
Please advise. thanks