Initialize-RpRunspaceJobs¶
SYNOPSIS¶
Initializes a synchronized ArrayList to manage runspace jobs.
SYNTAX¶
DESCRIPTION¶
This cmdlet creates a synchronized ArrayList to store and manage runspace jobs safely across multiple threads. It ensures thread- safe management of runspace jobs using the Synchronized method.
EXAMPLES¶
EXAMPLE 1¶
This example initializes the synchronized ArrayList for runspace jobs and assigns it to the module scope runspace jobs variable, $script:RunspaceJobs.
PARAMETERS¶
-ProgressAction¶
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.