Find a Users Organizational Unit (OU)

It’s quite simple to search for a user’s profile/details, but I have run into issues finding what OU that user is in. A common task is moving a user from one OU to another.

A solution a found was to use the GETADUSER command. Specifically:

getaduser -identity userAcctHere

This also works for computers too using: getadcomputer.

Leave a Reply

Your email address will not be published. Required fields are marked *