API Reference
Class
DomainControllerDiagnosticPostureService
Runs domain-controller diagnostic checks through the existing PowerShell surface and projects the results into a typed posture view.
Inheritance
- Object
- DomainControllerDiagnosticPostureService
Methods
EvaluateAsync 2 overloads
public static Task<View> EvaluateAsync(String forestName, String computerName, CancellationToken cancellationToken = null) #Returns:
Task<View>Evaluates diagnostic posture for a single domain controller.
Parameters
- forestName System.String
- Target forest DNS name.
- computerName System.String
- Target domain controller name.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Typed posture view.
public static async Task<View> EvaluateAsync(Options options, CancellationToken cancellationToken = null) #Returns:
Task<View>Evaluates diagnostic posture using the supplied options.
Parameters
- options ADPlayground.DomainControllers.DomainControllerDiagnosticPostureService.Options
- Evaluation options.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Typed posture view.