Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 530
  • Last Modified:

Best way to extract AD Structure using either LDIFDE, CSVDE, or Powershell

I have attempted several different lines of syntax to export a particular OU with all of its nested sub OU.  For example

HomeBase
   >>Deleted Objects
       >> Beta Objects
            >> ETC
            >> ETC
 >>List
     >>
     >>
         >>
         >>
I believe you get my point now. It needs to includes all nested objects/containers, so I can reengineer AD.  Any assistance is greatly appreciated
0
cgooden01
Asked:
cgooden01
1 Solution
 
cgooden01Author Commented:
Suggestions are not outputting as offered in the question. Not looking for a third party temporary tool.  Looking to script this out or command line like below example


├───Contacts
├───Desktop
├───Downloads
│   └───Evernote Import
├───Dropbox
│   ├───Apps
│   │   └───iftttcom
│   │       └───getpocketpdf
│   ├───Backup
│   ├───Camera Uploads
│   ├───Development
0
 
Rob StoneCommented:
I've just done a restructure of AD and I used a combination of the Active Directory Topology Diagrammer and an excel export of the OUs.

The ADTP was used for GPO links.

For PowerShell something as simple as this was enough for me, no funky graphics like your picture though.
(Get-ADOrganizationalUnit -Filter * -Properties CanonicalName).CanonicalName

I then filtered the output in Excel.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now