Howdy!
this seems so simple but can get it to report the proper info.
I just want to extract users form an OU w/ maybe namfe, email, and any other field that's not empty.
this is what I have, but it only report the fullname and the other fields are empty.
Ideally I'd like to have first and last name in separate columns.
Get-ADUser -SearchBase "ou=testou,dc=my,dc=com" -filter * -resultsetsize 5000 | select-object givenName, sn,mail,description | export-csv c:\export.csv
please help!
Thanks