dsquery * domainroot -filter "(&(objectCategory=Person)(objectClass=User)(homeDirectory=\\directorypath))" -attr sAMAccountName homeDirectory > c:\temp\hdir.csv
This "simple" query is suppose to write all domain users who homeDirectory path resides on a particular server. The file gets created and there are no errors but nothings' written to it. Can someone quide me on what it is I'm doing wrong? Any responses appreciated ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
