# Set-BluGenieServiceJob

﻿Set-BluGenieServiceJob

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

Set-BluGenieServiceJob is an add-on to manage the ServiceJob Status in the BluGenie Console

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

```
Set-BluGenieServiceJob [-SetTrue] [-SetFalse] [-Walkthrough] [<CommonParameters>]
```

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

Set-BluGenieServiceJob is an add-on to manage the ServiceJob status in the BluGenie Console.

Send the artifact to the remote machine to be run by the BluGenie Service. Note: This will only work if the BluGenie service is running If not, the artifact will fallback to the remote connection execution process.

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

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

```
Command: Set-BluGenieServiceJob
```

```
Description: Toggle the ServiceJob setting (True to False or False to True)
Notes:
```

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

```
Command: Set-BluGenieServiceJob -SetTrue
```

```
Description: Enable ServiceJob
Notes:
```

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

```
Command: Set-BluGenieServiceJob -SetFalse
```

```
Description: Disable ServiceJob
Notes:
```

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

```
Command: Set-BluGenieServiceJob -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 5 <a href="#example-5" id="example-5"></a>

```
Command: Set-BluGenieServiceJob -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>

#### SetTrue <a href="#settrue" id="settrue"></a>

```
-SetTrue [<SwitchParameter>]
   Description: Enable ServiceJob
   Notes:
   Alias:
   ValidateSet:
   
   Required?                    false
   Position?                    named
   Default value                False
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

#### SetFalse <a href="#setfalse" id="setfalse"></a>

```
-SetFalse [<SwitchParameter>]
   Description: Disable ServiceJob
   Notes:
   Alias:
   ValidateSet:
   
   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).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manuals.blusapphire.io/blugenie/full-function-list/set-blugenieservicejob.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
