API Reference
Class
SysvolConsistencyAnalyzer
Simple analyzer to compare presence/size/timestamp for a given relative path across all DC SYSVOL shares. Useful for spotting replication drift without scanning everything.
Inheritance
- Object
- SysvolConsistencyAnalyzer
Methods
ProbeRelativePath 3 overloads
public static IReadOnlyList<FileProbe> ProbeRelativePath(String domainName, String relativePath) #Returns:
IReadOnlyList<FileProbe>Probe the same relative path under SYSVOL on each preferred DC for a domain.
Parameters
- domainName System.String
- DNS name of the domain.
- relativePath System.String
- Relative path under the domain SYSVOL Policies root.
Returns
List of per-DC FileProbe results.
public static IReadOnlyList<FileProbe> ProbeRelativePath(String domainName, String relativePath, Nullable<DateTimeOffset> deadline, CancellationToken cancellationToken) #Returns:
IReadOnlyList<FileProbe>Probe the same relative path under SYSVOL on each preferred DC for a domain with an optional deadline.
Parameters
- domainName System.String
- DNS name of the domain.
- relativePath System.String
- Relative path under the domain SYSVOL Policies root.
- deadline System.Nullable{System.DateTimeOffset}
- Optional deadline to enforce a time budget.
- cancellationToken System.Threading.CancellationToken
- Cancellation token.
Returns
List of per-DC FileProbe results.
public static IReadOnlyList<FileProbe> ProbeRelativePath(String domainName, String relativePath, IReadOnlyList<String> domainControllers, Nullable<DateTimeOffset> deadline, CancellationToken cancellationToken) #Returns:
IReadOnlyList<FileProbe>Probe the same relative path under SYSVOL on an explicit list of domain controllers.
Parameters
- domainName System.String
- DNS name of the domain.
- relativePath System.String
- Relative path under the domain SYSVOL Policies root.
- domainControllers System.Collections.Generic.IReadOnlyList{System.String}
- Explicit DCs to probe.
- deadline System.Nullable{System.DateTimeOffset}
- Optional deadline to enforce a time budget.
- cancellationToken System.Threading.CancellationToken
- Cancellation token.
Returns
List of per-DC FileProbe results.