Hi is there a cmd or powershell cmdlet to check (on a client machine) which OU's the current user belongs to.
I thought i had used whoami in the past but cant seem to get what i require now.
I have looked on google but i cannot seem to find the answer. hopefully a very quick simple answer.
Thanks