List of AD users created in last time

List of AD users created in last time

Today I will share with you short script in PowerShell, which is checking last time created account in Active Directory.

In parameter called $time we set time, how many days back we want to check accounts were created. I set I set it to 1 day and the scheduler is activated every day. If there are some results it sending mail with informations about accounts.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *