Situatie
Se doreste aflarea conturilor de AD create in ultimele 30 zile
Solutie
- Deschidem Powershell cu drepturi de administrator (click dreapta pe iconita, run as administrator)
- In fereastra deschisa tastam comenzile pe rand: $DateCutOff = (Get-Date).AddDays(-30)
Get-ADUser -Filter * -Properties whenCreated | where {$_.whenCreated -gt $DateCufOff} | FT Name, whenCreated
- Ni se afiseaza lista cu data si ora in partea dreapta
Leave A Comment?