The LDIFDE utility exports and imports objects from and to Active Directory using the ldif format, which is kinda’ like csv when it gets really drunk and can’t stay on one line. Luckily, ldif can’t drive. Actually, each attribute/field is on a line (which allows for arrays) and an empty line starts the next record. Which can make for a pretty messy looking file the first time you look at one. The csvde command can be used to export data into the csv format instead. In it’s simplest form the ldifde command can be used to export AD objects just using a -f option to specify the location (the working…
-
-
Windows Server: Who Deleted My Frickin' OU?!?!
Well, we knew it was possible, but we didn’t know anyone would actually do it. Based on the title here, you probably already know that someone deleted a whole OU. Given that about 6-7 people could have done it and none were owning up of course you’re gonna’ get forced to figure out who it was. Well, let’s get started then. First, restore the OU. To do this we’re gonna’ use the ldp.exe utility from the Windows Server 2003 Support Tools. THen we’re going to open it up and click on the Connection menu and connect to your DC (and authenticate as a Domain Admin or above of course).…