Start-BluGenieRunSpace will run a list of commands or scriptblocks in parallel
EXAMPLES
EXAMPLE 1
PARAMETERS
maxThreads
-maxThreads <Int32>
Set the Max Threads to run in parallel
The default is set to ( 0 / Zero ). If left to ( 0 / Zero ) the maxThreads count will be set to ( The total command count )
<Type>Int<Type>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
maxJobs
-maxJobs <Int32>
Set the Max Jobs to run manage in a queue
The default is set to ( 0 / Zero ). If left to ( 0 / Zero ) the maxJobs count will be set to ( 20 + maxThreads )
<Type>Int<Type>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
slotTimer
-slotTimer <Int32>
Number of Milliseconds for slot-free-waiting
The default is set to ( 50 ).
<Type>Int<Type>
Required? false
Position? named
Default value 50
Accept pipeline input? false
Accept wildcard characters? false
sleepTimer
-sleepTimer <Int32>
Number of Milliseconds for loop-waiting
The default is set to ( 500 ).
<Type>Int<Type>
Required? false
Position? named
Default value 500
Accept pipeline input? false
Accept wildcard characters? false
processJobsInterval
-processJobsInterval <Int32>
Process completed jobs every x number of items
The default is set to ( 5 ).
<Type>Int<Type>
Required? false
Position? named
Default value 5
Accept pipeline input? false
Accept wildcard characters? false
commands
-commands <String[]>
A list of commands or ScriptBlocks to action in a seperate PowerShell RunSpace
<Type>String<Type>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
StatusMessage
-StatusMessage <String>
Required? false
Position? named
Default value Verbose
Accept pipeline input? false
Accept wildcard characters? false
Walkthrough
-Walkthrough [<SwitchParameter>]
An automated process to walk through the current function and all the parameters
<Type>SwitchParameter<Type>
Required? false
Position? 7
Default value False
Accept pipeline input? false
Accept wildcard characters? false
ReturnObject
-ReturnObject [<SwitchParameter>]
Return information as an Object.
By default the data is returned as a Hash Table
<Type>SwitchParameter<Type>
Required? false
Position? 10
Default value False
Accept pipeline input? false
Accept wildcard characters? false
OutUnEscapedJSON
-OutUnEscapedJSON [<SwitchParameter>]
Removed UnEsacped Char from the JSON Return.
This will beautify json and clean up the formatting.
<Type>SwitchParameter<Type>
Required? false
Position? 11
Default value False
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.