API Reference
Class
SysvolGpoConsistencyService
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
- DNS name of the domain to query.
- maxGpos System.Int32 = 100
- 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
- DNS name of the domain to query.
- maxGpos System.Int32
- Maximum number of GPOs to inspect.
- timeout System.Nullable{System.TimeSpan}
- Optional time budget for the probe.
- cancellationToken System.Threading.CancellationToken
- 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
- DNS name of the domain to query.
- options ADPlayground.Sysvol.SysvolGpoProbeOptions
- Selection options.
- timeout System.Nullable{System.TimeSpan}
- Optional time budget for the probe.
- cancellationToken System.Threading.CancellationToken
- 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
- DNS name of the domain to query.
- options ADPlayground.Sysvol.SysvolGpoProbeOptions
- Selection options.
- domainControllers System.Collections.Generic.IReadOnlyList{System.String}
- Explicit DCs to probe. When null, preferred DCs are used.
- timeout System.Nullable{System.TimeSpan}
- Optional time budget for the probe.
- cancellationToken System.Threading.CancellationToken
- Cancellation token.
Returns
A list of GpoGptProbe entries describing consistency for each GPO.