< Back

Start-ProcessChunkJobsFromArrays

Mon Jan 13, 2020 2:34 am

NAME Start-ProcessChunkJobsFromArrays



SYNOPSIS

Kicks on number of jobs for a given script with argument parameters, and then waits on them, spewing all of their

content out to the console.





SYNTAX

Start-ProcessChunkJobsFromArrays [[-ToolboxPath] <String>] [-InputArrays] <Object[][]> [-CodeToRun] <ScriptBlock>

[[-SleepBetweenJobsInSeconds] <Int32>] [<CommonParameters>]





DESCRIPTION

Kicks on number of jobs for a given script with argument parameters, and then waits on them, spewing all of their

content out to the console.





PARAMETERS

-ToolboxPath <String>

Path of Toolbox.



Required? false

Position? 1

Default value $env:ToolboxPath

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-InputArrays <Object[][]>

Set of Arrays that contains the records to process (Chunks).



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-CodeToRun <ScriptBlock>



Required? true

Position? 3

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-SleepBetweenJobsInSeconds <Int32>

(Optional) Amount of time to sleep between job schedules in seconds (Default = 10)



Required? false

Position? 4

Default value 10

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

List of Jobs that were spawned





NOTES





AUTHOR: Cyrus Jamula

LASTEDIT: Febuary 22th, 2018



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>















RELATED LINKS

Split-File