How to find recently created Active Directory users

Опубликовано: 29 Октябрь 2024
на канале: Fun & Tech
217
5

Shows how to find recently created AD users and when they were created.

This command is to find a list in the last 10 days.

Get-ADUser -Filter * -Properties * | Where {($_.WhenCreated -gt (Get-Date).AddDays(-10))} | Sort WhenCreated | Ft Name, WhenCreated, WhenChanged, LastLogonDate