--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c848367e-c47b-416b-9376-1f685c06f5c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The only way to do that with one command would be to have the two OUs underneath a common parent OU. orgUnitPath= returns all users in the given OU and sub-OUs. So if you had:/StudentK-6Middle SchoolHIgh Schoolwith students in each of K-6, Middle School and High School then your query will return all of them.
Jay Lee
On Mon, Jul 28, 2014 at 5:48 PM, Andrew Moore <andrew...@aims.edu> wrote:
Is it possible to query Multiple OU at one time? I don't want to query them all, but I want to query multiple to export to a file. instead of run several different query then putting the file together, which I can do if needed.Example: /usr/bin/python gam.py print users firstname lastname ou orderby email query 'isSuspended=false orgUnitPath=/Student '> GAMUSERLIST.csvThe query above works fine, but I want to do it against multiple OU's not just one, but not all either.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.