Hi everybody,
I have to export the users who don't have anything in the department field ? How can I do this please?
Get-ADUser -Filter * -Properties * | Select-Object -Property displayName,SamAccountName,department| Export-Csv -path c:\userall.csv -Encoding Unicode
Thanks for helping me
Nathalie