Solved

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

Posted on 2014-10-20
3
327 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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 …

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now