Due to recent events I have been tasked to do a load of proactive tests every morning for the customers we manage. So I have to log onto a DC and create a txt file in the SYSVOL folder and confirm that this has replicated across to the other Replication partner DC. Then I have to change a display name on a disabled user account and then on the replication partner confirm this change has replicated. There is more but this would be good if I can this all scripted.
I have scripted the whole process in a combination of batch and PowerShell to Create the file in SYSVOL and then checking on the other Replication partner.So after I change the AD User object display name I am stuck as into how I go about checking through the replication partner scripted. I know I can just right click the Domain in users and groups snap in and change DC but is...