# Set-BluGenieCores

﻿

### Set-BluGenieCores <a href="#set-blugeniecores" id="set-blugeniecores"></a>

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

Set-BluGenieCores is an add-on to control how many Cores to use while in the BluGenie Console

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

```
Set-BluGenieCores [[-Cores] <Object[]>] [-Walkthrough] [<CommonParameters>]
```

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

Set-BluGenieCores is an add-on to control how many Cores to use while in the BluGenie Console

Select the amount of cores you want this job to use. Default is (ALL). Core information is pulled from the ($env:NUMBER\_OF\_PROCESSORS) variable.

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

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

```
Command: Set-BluGenieCores
```

```
Description: This will set the Core to use to (ALL)
Notes:
Output:
```

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

```
Command: Set-BluGenieCores -Cores 2
```

```
Description :This will set the Core to use to 2
Notes:
Output:
```

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

```
Command: Set-BluGenieCores 2,3,4
```

```
Description: This will set the Core to use to 2,3,4 while using Position 0 in the parameter index
Notes:
Output:
```

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

#### Cores <a href="#cores" id="cores"></a>

```
-Cores <Object[]>
   Description: Select the amount of cores you want this job to use.
   Notes: Default is (ALL)
   Alias:
   ValidateSet:
   
   Required?                    false
   Position?                    1
   Default value                
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

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

```
-Walkthrough [<SwitchParameter>]
   Description: An automated process to walk through the current function and all the parameters
   Notes:
   Alias:
   ValidateSet:
   
   Required?                    false
   Position?                    named
   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).
