2885 Sanford Ave SW #35320 Grandville MI 49418, USA
Support@ITDynamicPacks.Net Info@ITDynamicPacks.Net

Get Active Directory Forest Replication Status – Domain Controllers

Dynamic Packs Information  

  • Below listed Dynamic Packs have been designed using Active Directory PowerShell cmdlets.
  • We have used Dynamic Pack Manager to designed below listed Dynamic Packs.
  • There are 20 Dynamic Packs that ship with DynamicPacks Health Profiler. Please let us know in case you need a Dynamic Pack.
  • You can modify code (PowerShell cmdlet code) for these Dynamic Packs using Dynamic Pack Manager.

Dynamic Pack: Get Active Directory Forest Replication Status – Domain Controllers

Dynamic Pack can be used to get Replication Status from Active Directory Forest. The replication status is checked for all domain controllers in an Active Directory Forest running Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2.

TYPE

General Dynamic Pack. This is a General Dynamic Pack type. The data output for Dynamic Pack is stored in a CSV file.

SUPPORT CONFIGURATION COMPARISON ?

Yes. To use this Dynamic Pack to compare target system data, create a Health Set using DynamicPacks Health Profiler and then apply Health Set to Dynamic Pack.

APPLIES TO

Active Directory. This is an Active Directory Dynamic Pack. You must use this Dynamic Pack against an Active Directory forest.

CAN MODIFY DYNAMIC PACK PowerShell Code?

Yes. Modify Dynamic Pack code using Dynamic Pack Manager that ships with DynamicPacks Health Profiler. Please make sure to use $VarRepFile reporting variable to allow DynamicPacks Health Profiler to see the data collected by the Dynamic Pack.

POWERSHELL CODE

$R=Get-ADReplicationPartnerMetadata -Target * -Partition * -Credential $Creds -ErrorAction SilentlyContinue; ForEach ($ThisDCNow in GC $GDCList);{;ForEach ($AllDCs in $R);{;$DCName = $AllDCs.Server;$DCReplStatus="Domain Controller Not Found in Replication Data";IF ($DCName -eq $ThisDCNow);{;$DCLastReplResult = $AllDCs.LastReplicationResult;IF ($DCLastReplResult -eq 0);{;$DCReplStatus="Working";};};else;{;$DCReplStatus="Replication Error";break;};};$ThisStr = $ThisDCNow+","+$DCReplStatus+","+;CurForestName;Add-Content "$VarRepFile" $ThisStr;}

DYNAMIC PACK CONFIGURATION

There is no input required. When you add Dynamic Pack to a Health Profile, DynamicPacks Health Profiler will populate Active Directory Forest name automatically. DynamicPacks Health Profiler will collect Active Directory Forest name from the "Active Directory configuration" tab as shown in the screenshot below:

Get Active Directory Forest Replication Status - Domain Controllers

 

POWERSHELL CMDLETS USED BY DYNAMIC PACK

Dynamic Pack uses "Get-ADReplicationPartnerMetadata" PowerShell cmdlet to collect replication metadata from Active Directory Forest. Check out for more information on Get-ADReplicationPartnerMetadata PowerShell cmdlet at https://technet.microsoft.com/en-us/library/hh852279(v=wps.630).aspx

REPORT FORMAT: HTML, CSV and Treeview

Dynamic Pack report is generated in HTML, CSV and Treeview formats.

  • HTML data for Dynamic Pack is included in the Health Profile report.
  • Dynamic Pack CSV data is available for easy navigation of data in Data Grid view and Treeview.

Recommend DynamicPacks Health Profiler