Site Replication Status

Version 2

    The script uses the repadmin command to collect replication status from the server running the monitor to ALL other Domain Controllers that it can reach. For every failure found, a new message is created. If no failures are found, the success message shows timing of the

    successful replication.

     

    Prerequisites: WinRM configured on the target server.

    Credentials: Target domain controller administrator.

     

    Configuring Windows Remote Management (WinRM)

    1.  If not already done so, install at least PowerShell 2.0 and WinRM on the SAM and target servers.

            PowerShell 2.0 - http://support.microsoft.com/kb/968930

            PowerShell 3.0 - https://www.microsoft.com/en-us/download/details.aspx?id=34595

            PowerShell 4.0 - https://www.microsoft.com/en-us/download/details.aspx?id=40855

            PowerShell 5.0 - https://www.microsoft.com/en-us/download/details.aspx?id=46889

    2.  On the SAM server, open a command prompt as an administrator (MUST BE CMD and NOT POWERSHELL)

    3.  Enter the following in the command prompt:

        winrm quickconfig

        winrm set winrm/config/client @{TrustedHosts="*"}

    4.  On EVERY Domain Controller that you want to report in with replication status the following MUST be done

        winrm quickconfig

        winrm set winrm/config/client @{TrustedHosts="SOLARWINDS_HOSTNAME"}

     

    If you have any questions, suggestions, improvements, or request, let me know!