# Start-BluGenieRunSpace

﻿

### Start-BluGenieRunSpace <a href="#start-blugenierunspace" id="start-blugenierunspace"></a>

### SYNOPSIS <a href="#synopsis" id="synopsis"></a>

Start-BluGenieRunSpace will run a list of commands or scriptblocks in parallel

### SYNTAX <a href="#syntax" id="syntax"></a>

```
Start-BluGenieRunSpace [-maxThreads <Int32>] [-maxJobs <Int32>] [-slotTimer <Int32>] [-sleepTimer <Int32>] [-processJobsInterval <Int32>] [-commands <String[]>] [-StatusMessage <String>] [[-Walkthrough]] 
[[-ReturnObject]] [[-OutUnEscapedJSON]] [<CommonParameters>]
```

### DESCRIPTION <a href="#description" id="description"></a>

Start-BluGenieRunSpace will run a list of commands or scriptblocks in parallel

### EXAMPLES <a href="#examples" id="examples"></a>

#### EXAMPLE 1 <a href="#example-1" id="example-1"></a>

```
```

```
```

### PARAMETERS <a href="#parameters" id="parameters"></a>

#### maxThreads <a href="#maxthreads" id="maxthreads"></a>

```
-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 <a href="#maxjobs" id="maxjobs"></a>

```
-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 <a href="#slottimer" id="slottimer"></a>

```
-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 <a href="#sleeptimer" id="sleeptimer"></a>

```
-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 <a href="#processjobsinterval" id="processjobsinterval"></a>

```
-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 <a href="#commands" id="commands"></a>

```
-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 <a href="#statusmessage" id="statusmessage"></a>

```
-StatusMessage <String>
   
   Required?                    false
   Position?                    named
   Default value                Verbose
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

#### Walkthrough <a href="#walkthrough" id="walkthrough"></a>

```
-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 <a href="#returnobject" id="returnobject"></a>

```
-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 <a href="#outunescapedjson" id="outunescapedjson"></a>

```
-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 <a href="#commonparameters" id="commonparameters"></a>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
