Domain Detective

API Reference

Class

ParallelAsyncPSCmdlet

Namespace DomainDetective.PowerShell
Assembly DomainDetective.PowerShell
Implements
IDisposable
Modifiers abstract

Base cmdlet providing parallel execution parameters and helpers.

Inheritance

Methods

ApplyExecutionOptions(DomainDetective.DomainHealthCheck arg1) #

Applies shared execution options to a health check instance.

Parameters

arg1 DomainDetective.DomainHealthCheck required
ForEachAsync``1(System.Collections.Generic.IReadOnlyList{``0} arg1, System.Func{``0,System.Threading.Tasks.Task} arg2) #

Runs the provided action over inputs with optional throttling.

Parameters

arg1 System.Collections.Generic.IReadOnlyList{``0} required
arg2 System.Func{``0,System.Threading.Tasks.Task} required
GetEffectiveThrottleLimit() #

Returns the effective throttle limit for cmdlet-level parallelism.

IsVerboseEnabled() #

Returns true when verbose output is enabled for this invocation.

Properties

public SwitchParameter DisableParallel { get; set; } #
Parameter(Mandatory = false)

Disable parallel execution for cmdlet-level work.

public Nullable<Int32> ThrottleLimit { get; set; } #
Parameter(Mandatory = false) ValidateRange(1, 128)

Maximum number of concurrent items for cmdlet-level parallel work.

public Nullable<Int32> MaxParallelism { get; set; } #
Parameter(Mandatory = false) ValidateRange(1, 128)

Maximum concurrent health checks within a single domain run.

public Nullable<Int32> DnsParallelism { get; set; } #
Parameter(Mandatory = false) ValidateRange(1, 128)

DNS resolver concurrency hint for health checks.

public DnsEndpoint[] DnsEndpoints { get; set; } #
Parameter(Mandatory = false)

Optional list of resolver endpoints to use (multi-resolver).

public MultiResolverStrategy MultiResolverStrategy { get; set; } #
Parameter(Mandatory = false)

Strategy used when multiple DNS endpoints are provided.

public Nullable<Int32> MultiResolverMaxParallelism { get; set; } #
Parameter(Mandatory = false)

Maximum number of resolvers to query in parallel (null = all).

{{ include "footer" }}