Brian Styles (ScriptLogic) did an excellent job of writing an OU parser using adsysteminfo and username. I think all that remains is to roll this stuff up into nice little InOU() and EnumOU() functions.

Would/should one combine user and computer OU enumeration into a single function or break them out into seperate functions - hmmm ?

Check-out Brians' post here

-Shawn