Because you really have nothing better to do than this?
(&(objectCategory=user)(whenCreated>=20090601000000.0Z))
Awesome, thanks... this helped me so much!
Awesome, thanks! Perfect!
Thank you! Glad it was helpful.
Oh totally! BTW, love the catch phrase on the header :)
I go looking for this information and am not surprised at all at who the OP is. Thanks Dave!
I go looking for this specific bit of information and am not surprised at who the OP is. Thanks Dave!
It worked! Is there a way to export the query result to a text or csv?
$Ldate = New-Object System.DateTime(2017,3,1)Get-ADUser -Properties name,distinguishedName,whenCreated -Filter {(objectClass -eq "user") -and (whenCreated -ge $Ldate)} | ConvertTo-Csv -NoTypeInformation | Out-File "adusers.csv"
What about the deleted users?
I'm not sure what you're asking. If they're deleted and you don't have them in a Recycle Bin then they're gone.
Awesome, thanks... this helped me so much!
ReplyDeleteAwesome, thanks! Perfect!
ReplyDeleteThank you! Glad it was helpful.
DeleteOh totally!
DeleteBTW, love the catch phrase on the header :)
I go looking for this information and am not surprised at all at who the OP is. Thanks Dave!
ReplyDeleteI go looking for this specific bit of information and am not surprised at who the OP is. Thanks Dave!
ReplyDeleteIt worked! Is there a way to export the query result to a text or csv?
ReplyDelete
ReplyDelete$Ldate = New-Object System.DateTime(2017,3,1)
Get-ADUser -Properties name,distinguishedName,whenCreated -Filter {(objectClass -eq "user") -and (whenCreated -ge $Ldate)} |
ConvertTo-Csv -NoTypeInformation |
Out-File "adusers.csv"
What about the deleted users?
ReplyDeleteI'm not sure what you're asking. If they're deleted and you don't have them in a Recycle Bin then they're gone.
ReplyDelete