Solved

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

Posted on 2014-10-20
3
337 Views
Last Modified: 2014-12-09
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
Comment
Question by:cgooden01
3 Comments
 

Author Comment

by:cgooden01
ID: 40394391
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
 
LVL 15

Accepted Solution

by:
Rob Stone earned 500 total points
ID: 40477095
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Synchronize a new Active Directory domain with an existing Office 365 tenant
A brief introduction to what I consider to be the best editor for PowerShell.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question