I'm working on a script that I can run to force replication between all DCs in my domain. The script works great and replicates all of the partitions. What I'd like is to modify the script so will only replicate the domain partition. What is the proper syntax for repadmin? I've included the code below. Thanks.
param( [ValidateSet("ExtraSuper","Normal")] [string]$Mode = 'Normal' ) $DomainControllers = Get-ADDomainController -Filter * ForEach ($DC in $DomainControllers.Name) { If ($Mode -eq "ExtraSuper") { REPADMIN /kcc $DC } REPADMIN /syncall /A /e /q $DC }