< Back

Start-ProcessChunkJobsFromFile

Mon Jan 13, 2020 2:35 am

NAME Start-ProcessChunkJobsFromFile



SYNOPSIS

Kicks on $TotalJobs 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-ProcessChunkJobsFromFile [-ToolboxPath] <String> [-InputPath] <String> [-ScriptToRun] <String> [-TotalJobs]

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





DESCRIPTION

Kicks on $TotalJobs 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? true

Position? 1

Default value $env:ToolboxPath

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-InputPath <String>

Base path to input files (Chunks).



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-ScriptToRun <String>

Path to script file.



Required? true

Position? 3

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-TotalJobs <String>

Total number of jobs to run.



Required? true

Position? 4

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? 5

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

Output of the Jobs





NOTES





AUTHOR: Cyrus Jamula

LASTEDIT: Febuary 22th, 2018



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



PS C:\\>















RELATED LINKS

Split-File