I'm trying to use the dsquery command to show users in a certain OU and then output that info to a csv file that can then be opened in MS Xcel. I'm not sure precisely, if I should be using the dsquery command and then pipe the output of that to a dsmod command, or if i should be using csvde. The OU I am looking to gather a user list from is 3 layers deep. So:
Root-->1s OU-->2nd OU-->Target OU
is there an easier way to do this besides the above commands? Thanks for your help!
Start Free Trial