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.

Komentarze

Nie ma jeszcze komentarzy. Może zaczniesz dyskusję?

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *