TestimoX

API Reference

Class

SysvolGpoConsistencyService

Namespace ADPlayground.Sysvol
Assembly ADPlayground
Modifiers static

Utilities for assessing SYSVOL GPO consistency (gpt.ini presence and version alignment) across domain controllers.

Inheritance

  • Object
  • SysvolGpoConsistencyService

Methods

ProbeGptIni 4 overloads
public static IReadOnlyList<GpoGptProbe> ProbeGptIni(String domainName, Int32 maxGpos = 100) #
Returns: IReadOnlyList<GpoGptProbe>

Probes up to a specified number of GPOs for gpt.ini presence and version consistency across domain controllers.

Parameters

domainName System.String requiredposition: 0
DNS name of the domain to query.
maxGpos System.Int32 = 100 optionalposition: 1
Maximum number of GPOs to inspect.

Returns

A list of GpoGptProbe entries describing consistency for each GPO.

public static IReadOnlyList<GpoGptProbe> ProbeGptIni(String domainName, SysvolGpoProbeOptions options, Nullable<TimeSpan> timeout, CancellationToken cancellationToken) #
Returns: IReadOnlyList<GpoGptProbe>

Probes up to a specified number of GPOs with a time budget.

Parameters

domainName System.String requiredposition: 0
DNS name of the domain to query.
maxGpos System.Int32 requiredposition: 1
Maximum number of GPOs to inspect.
timeout System.Nullable{System.TimeSpan} requiredposition: 2
Optional time budget for the probe.
cancellationToken System.Threading.CancellationToken requiredposition: 3
Cancellation token.

Returns

A list of GpoGptProbe entries describing consistency for each GPO.

ProbeGptIni(System.String domainName, ADPlayground.Sysvol.SysvolGpoProbeOptions options, System.Nullable{System.TimeSpan} timeout, System.Threading.CancellationToken cancellationToken) #

Probes up to a specified number of GPOs with selection options and a time budget.

Parameters

domainName System.String required
DNS name of the domain to query.
options ADPlayground.Sysvol.SysvolGpoProbeOptions required
Selection options.
timeout System.Nullable{System.TimeSpan} required
Optional time budget for the probe.
cancellationToken System.Threading.CancellationToken required
Cancellation token.

Returns

A list of GpoGptProbe entries describing consistency for each GPO.

public static IReadOnlyList<GpoGptProbe> ProbeGptIni(String domainName, SysvolGpoProbeOptions options, IReadOnlyList<String> domainControllers, Nullable<TimeSpan> timeout, CancellationToken cancellationToken) #
Returns: IReadOnlyList<GpoGptProbe>

Probes up to a specified number of GPOs with selection options, a time budget, and an explicit DC list.

Parameters

domainName System.String requiredposition: 0
DNS name of the domain to query.
options ADPlayground.Sysvol.SysvolGpoProbeOptions requiredposition: 1
Selection options.
domainControllers System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 2
Explicit DCs to probe. When null, preferred DCs are used.
timeout System.Nullable{System.TimeSpan} requiredposition: 3
Optional time budget for the probe.
cancellationToken System.Threading.CancellationToken requiredposition: 4
Cancellation token.

Returns

A list of GpoGptProbe entries describing consistency for each GPO.