I need to list of all users in AD that do not have any entry in the NAME field (example: smith,jon)
So far I have something like below
Get-ADUser -filter {Name -eq " "} | FT SamAccountName
I know this fails because of the empty quotations.
Essentially I need a piece of code that "lists all users who have a blank name field"
If there is another way to do this via PowerShell, or if I am just slightly off track with trying the blank quotes, let me know.
Any help is appreciated.