Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-10-20
3
Medium Priority
?
503 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 1500 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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

971 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