From the course: Advanced PowerShell: Automating Active Directory Administration
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Monitoring replication
From the course: Advanced PowerShell: Automating Active Directory Administration
Monitoring replication
- [Instructor] Monitoring active directory replication is an important part of your duties as a CIS admin. And that's because if replication fails then it could cause a lot of cascading problems with synchronization between various different objects and even possibly cause a domain controller to become tombstoned, which would then be kicked out of the active directory domain and you may not even realize it. So one thing that we could type in the old days of command line is repadmin/syncall. And this will attempt to do the replication and it'll tell us if we have any errors. So you can see here it terminated with no errors, everything was successful. But in PowerShell we can be a lot more creative. So I'll clear the screen, and let's take a look at a script in PowerShell that will give us a little bit more information. I have a script here called results.ps1 and I'm going to right click on it and choose Open. And I…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.