Last active
September 8, 2017 15:37
-
-
Save ntrogers/7433fa552b0f2b8acd29f6661aa341a4 to your computer and use it in GitHub Desktop.
[AD - List AD OUs] List all AD OUs in a domain #Windows #Powershell #ActiveDirectory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ADOrganizationalUnit -filter * -SearchBase "DC=<domain>,dc=<path>” | ft distinguishedname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment