I always have to look this up, I’m not sure what is going on with my memory:
dsquery user forestroot -name search
When you are working on large Active Directories this is somewhat handy. Just replace search with the name you are after, helpfully it supports wildcard.
Read other posts