How to display all OU’s & their distinguished Name from your domain


Today I wanted a quick overlook of all the OU’s and their distinguished Name. This is how I did that. Open a PowerShell prompt and enter the following :

U can expect a reply something like below :

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.