# Set-BluGenieJobTimeout

﻿

### Set-BluGenieJobTimeout <a href="#set-blugeniejobtimeout" id="set-blugeniejobtimeout"></a>

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

Set-BluGenieJobTimeout is an add-on to manage the Job Timeout in the BluGenie Console

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

```
Set-BluGenieJobTimeout [[-Timeout] <Int32>] [-Reset] [-Walkthrough] [<CommonParameters>]
```

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

Set-BluGenieJobTimeout is an add-on to manage the Job Timeout in the BluGenie Console.

Being able to invoke multiple runspaces at once allows BluGenie the ability to run code inside of each runspace independent of the others. This option will set the timeout value for each job. If that time value is ever reached, the job will exit and return a timeout error.

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

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

```
Command: Set-BluGenieJobTimeout '5'
```

```
Description: Set Job Timeout
Notes: The Timeout is an [Int]
```

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

```
Command: Set-BluGenieJobId -Timeout '160'
```

```
Description: Set Job Timeout using the default command name while using the Timeout parameter
Notes: The Timeout is an [Int]
```

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

```
Command: Set-JobTimeout -Timeout '30'
```

```
Description: Set Job Timeout using the Alias command name while using the Job Timeout parameter
Notes: The Timeout is an [Int]
```

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

```
Command: Set-BluGenieJobTimeout -Reset
```

```
Description: Reset the Job Timeout to 120 minutes
Notes:
```

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

```
Command: Set-BluGenieJobId -Help
```

```
Description: Call Help Information
Notes: If Help / WalkThrough is setup as a parameter, this script will be called to setup the Dynamic Help Menu if not the normal
       Get-Help will be called with the -Full parameter
```

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

```
Command: Set-BluGenieJobId -WalkThrough
```

```
Description: Call Help Information [2]
Notes: If Help / WalkThrough is setup as a parameter, this script will be called to setup the Dynamic Help Menu if not the normal
       Get-Help will be called with the -Full parameter
```

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

#### Timeout <a href="#timeout" id="timeout"></a>

```
-Timeout <Int32>
   Description: Job Timeout value
   Notes:
   Alias:
   ValidateSet:
   
   Required?                    false
   Position?                    1
   Default value                0
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

#### Reset <a href="#reset" id="reset"></a>

```
-Reset [<SwitchParameter>]
   
   Required?                    false
   Position?                    named
   Default value                False
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

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

```
-Walkthrough [<SwitchParameter>]
   Description:  Start the dynamic help menu system to help walk through the current command and all of the parameters
   Notes:
   Alias: Help
   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).
