Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Export AD users with their credentials to a new fresh DC.

$
0
0

Hello all!

What I need is to rebuild an existing infrastructure. Current DC is total damaged. So I need to raise new DC. I can access powershell but I'm stuck with the export. Unfortunately, I am pretty newbie with powershell. I tried to use Get-ADUser but I am not using the right filters.

Get-ADUser -SearchBase "OU=OUNAME,DC=DCNAME,DC=local" -filter  * | ft name,distinguishedName s -autosize

With this I listed the users from the specific OU but only their name. I need their passwords, OU and everything needed to directly import them to the new AD. After the import the goal is to start working with them properly.

Any ideas?


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>