I am a novice IT student and we are currently setting up a Windows Server 2008 R2. In our course we've already created numerous OU (Organizational Units), Security Groups and Users. Our teacher is a fan of trial and error education and due to that we have to reinstall the whole lot a couple times. I was looking for a good way to export and re-import our work.
I found the LDIFDE command and successfully exported the OU structure using ldifde -f exportedOU.ldf -s W2K8R2x64 -d "dc=fixit,dc=be" -p subtree -r "(objectCategory=organizationalUnit)" -l "cn,objectclass,ou" But as said, I'd like to export the OU structure, the security groups and the users. (With all possible retrievable attributes.)
Could anyone guide me through that process? I know there are third party tools to do this but I'd rather use the commands. Once I have the output I'll be able to figure out how to create users, security groups etcetera via LDIFDE as well, so it should be very informative. Thanks already for your answers!