API Reference
Class
ParallelAsyncPSCmdlet
Base cmdlet providing parallel execution parameters and helpers.
Inheritance
- AsyncPSCmdlet
- ParallelAsyncPSCmdlet
Methods
ApplyExecutionOptions(DomainDetective.DomainHealthCheck arg1) #Applies shared execution options to a health check instance.
Parameters
- arg1 DomainDetective.DomainHealthCheck
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}
- arg2 System.Func{``0,System.Threading.Tasks.Task}
GetEffectiveThrottleLimit() #Returns the effective throttle limit for cmdlet-level parallelism.
IsVerboseEnabled() #Returns true when verbose output is enabled for this invocation.
Inherited Methods
public PathInfo CurrentProviderLocation(String providerId) #Returns:
PathInfoInherited from PSCmdlet
Parameters
- providerId String
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public Collection<String> GetResolvedProviderPathFromPSPath(String path, out ProviderInfo provider) #Returns:
Collection<String>Inherited from PSCmdlet
Parameters
- path String
- provider ProviderInfo
public override String GetResourceString(String baseName, String resourceId) #Returns:
StringInherited from Cmdlet
Parameters
- baseName String
- resourceId String
public String GetUnresolvedProviderPathFromPSPath(String path) #Returns:
StringInherited from PSCmdlet
Parameters
- path String
public Object GetVariableValue(String name, Object defaultValue) #Returns:
ObjectInherited from PSCmdlet
Parameters
- name String
public Boolean ShouldContinue(String query, String caption) #Returns:
BooleanInherited from Cmdlet
Parameters
- query String
- caption String
- hasSecurityImpact Boolean
- yesToAll Boolean
- noToAll Boolean
public Boolean ShouldProcess(String verboseDescription, String verboseWarning, String caption) #Returns:
BooleanInherited from Cmdlet
Parameters
- verboseDescription String
- verboseWarning String
- caption String
- shouldProcessReason ShouldProcessReason
public Void ThrowTerminatingError(ErrorRecord errorRecord) #Returns:
VoidInherited from Cmdlet
Parameters
- errorRecord ErrorRecord
public Void WriteCommandDetail(String text) #Returns:
VoidInherited from Cmdlet
Parameters
- text String
public Void WriteError(ErrorRecord errorRecord) #Returns:
VoidInherited from Cmdlet
Parameters
- errorRecord ErrorRecord
public Void WriteInformation(InformationRecord informationRecord) #Returns:
VoidInherited from Cmdlet
Parameters
- informationRecord InformationRecord
public Void WriteObject(Object sendToPipeline) #Returns:
VoidInherited from Cmdlet
Parameters
- sendToPipeline Object
public Void WriteProgress(ProgressRecord progressRecord) #Returns:
VoidInherited from Cmdlet
Parameters
- progressRecord ProgressRecord
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).
Inherited Properties
public PSEventManager Events { get; } #Inherited from PSCmdlet
public PSHost Host { get; } #Inherited from PSCmdlet
public CommandInvocationIntrinsics InvokeCommand { get; } #Inherited from PSCmdlet
public ProviderIntrinsics InvokeProvider { get; } #Inherited from PSCmdlet
public JobManager JobManager { get; } #Inherited from PSCmdlet
public JobRepository JobRepository { get; } #Inherited from PSCmdlet
public InvocationInfo MyInvocation { get; } #Inherited from PSCmdlet
public PagingParameters PagingParameters { get; } #Inherited from PSCmdlet
public String ParameterSetName { get; } #Inherited from PSCmdlet
public SessionState SessionState { get; } #Inherited from PSCmdlet
public ICommandRuntime CommandRuntime { get; set; } #Inherited from Cmdlet
public Boolean Stopping { get; } #Inherited from Cmdlet
public CommandOrigin CommandOrigin { get; } #Inherited from InternalCommand