View Code? Open in Web Editor
NEW
A small Powershell script that disables all the Active Directory user accounts inactive for more than X days.
Home Page: https://www.ryadel.com/
License: GNU General Public License v3.0
disable-inactive-adaccounts's Issues
I have a list of users that I want excluded when I want to run this script. What is the proper code for this?
Hello, I stumbled upon your AD script and I have some questions:
-
I have a list of users that I want excluded when I want to run this script. What is the proper code for this?
-
How do I allow this script to run automatically, say every 28 days?