Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Why does MSAD_ReplNeighbor return multiple connections for the same DC?

$
0
0

I am playing with the AD WMI classes and I am confused about something.

I have a DC which has 4 connection objects to 4 other DCs which I can view under its NTDS Settings in sites and services.

But this is what I see when I run the following command on this DC:

$TimeOfLastSyncAttempt = @{N='TimeOfLastSyncAttempt';E={$_.ConvertToDateTime($_.TimeOfLastSyncAttempt)}}
$TimeOfLastSyncSuccess = @{N='TimeOfLastSyncSuccess';E={$_.ConvertToDateTime($_.TimeOfLastSyncSuccess)}}
gwmi -Namespace "root\MicrosoftActiveDirectory" MSAD_ReplNeighbor | Select-Object SourceDsaCN,$TimeOfLastSyncAttempt,$TimeOfLastSyncSuccess,ReplicaFlags | sort -Property sourcedsaCN
SourceDsaCN TimeOfLastSyncAttempt TimeOfLastSyncSuccess ReplicaFlags
----------- --------------------- --------------------- ------------
DC1    5/13/2013 8:39:42 AM  5/13/2013 8:39:42 AM           112
DC1    5/13/2013 8:28:22 AM  5/13/2013 8:28:22 AM           112
DC1    5/13/2013 8:28:22 AM  5/13/2013 8:28:22 AM           112
DC1    5/13/2013 8:28:22 AM  5/13/2013 8:28:22 AM           112
DC1    5/13/2013 8:28:22 AM  5/13/2013 8:28:22 AM           112
DC2    5/13/2013 1:58:25 AM  5/13/2013 1:58:25 AM     805306448
DC2    5/13/2013 1:58:24 AM  5/13/2013 1:58:24 AM     805306448
DC2    5/13/2013 1:58:25 AM  5/13/2013 1:58:25 AM     805306448
DC2    5/13/2013 1:58:25 AM  5/13/2013 1:58:25 AM     805306448
DC2    5/13/2013 1:58:23 AM  5/13/2013 1:58:23 AM     805306448
DC3    5/13/2013 1:58:23 AM  5/13/2013 1:58:23 AM     805306448
DC3    5/13/2013 1:58:22 AM  5/13/2013 1:58:22 AM     805306448
DC3    5/13/2013 1:58:25 AM  5/13/2013 1:58:25 AM     805306448
DC3    5/13/2013 1:58:24 AM  5/13/2013 1:58:24 AM     805306448
DC3    5/13/2013 1:58:25 AM  5/13/2013 1:58:25 AM     805306448
DC4    5/13/2013 1:58:25 AM  5/13/2013 1:58:25 AM     805306448
DC4    5/13/2013 1:58:24 AM  5/13/2013 1:58:24 AM     805306448
DC4    5/13/2013 1:58:24 AM  5/13/2013 1:58:24 AM     805306448
DC4    5/13/2013 1:58:23 AM  5/13/2013 1:58:23 AM     805306448
DC4    5/13/2013 1:58:25 AM  5/13/2013 1:58:25 AM     805306448

Why is it show 5 entries for each connection? And why do some of the entries for the same DC have different replication times?

What exactly is MSAD_ReplNeighbor returning here?

Thanks for any help, I couldn't find anything on MSDN verbose enough for me to understand.


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>