I'm looking to do the following. I basically want to find out what particular OU a machine is in. I don't want the entire DN name, just the OU that it resides in. Any Ideas? I basically looking to do an

IF Object.ou = something

ENDIF