TestimoX

API Reference

Class

SysvolConsistencyAnalyzer

Namespace ADPlayground.Sysvol
Assembly ADPlayground
Modifiers static

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 requiredposition: 0
DNS name of the domain.
relativePath System.String requiredposition: 1
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 requiredposition: 0
DNS name of the domain.
relativePath System.String requiredposition: 1
Relative path under the domain SYSVOL Policies root.
deadline System.Nullable{System.DateTimeOffset} requiredposition: 2
Optional deadline to enforce a time budget.
cancellationToken System.Threading.CancellationToken requiredposition: 3
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 requiredposition: 0
DNS name of the domain.
relativePath System.String requiredposition: 1
Relative path under the domain SYSVOL Policies root.
domainControllers System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 2
Explicit DCs to probe.
deadline System.Nullable{System.DateTimeOffset} requiredposition: 3
Optional deadline to enforce a time budget.
cancellationToken System.Threading.CancellationToken requiredposition: 4
Cancellation token.

Returns

List of per-DC FileProbe results.