DSQUERY | DSGET filtered for null field result
Posted on 2006-06-03
I have been using the DS tools for about 6 months and have finally run into a simple problem, upon which I am sure someone can shed light...
I use the following command to show users and their profile paths by Distinguished Name.
dsquery user -name * | dsget user -profile -dn
NOW, I need to filter this output to show only those folks with no entries in their profile path.
This would be the quickest way to output those users for whom we have not migrated from NDS 6.0 profiles to AD profiles. I need to do a quick check to see if we have accounted for everyone using this method.
Any ideas how to filter for <NULL> using DS tools? This is the crux of this question. If there is no way, I will write a WSH script and be done with it.