# Set-IntelligenceXSkill

Enables or disables a skill entry in app-server skill configuration.

Command 

**Module**

`IntelligenceX.PowerShell`

**Inputs**

`IntelligenceX.OpenAI.IntelligenceXClient`

Enables or disables a skill entry in app-server skill configuration.

## Syntax

```
Set-IntelligenceXSkill
-Enabled <bool>
-Path <string>
[-Client <IntelligenceXClient>]
[<CommonParameters>]
```

[#](#method-set-intelligencexskill-bool-string-intelligencexclient)

## Examples

### Example 1

```powershell
Set-IntelligenceXSkill -Path ".intelligencex/skills/my-skill/skill.json" -Enabled $false
```

Disable a skill by config path

### Example 2

```powershell
Set-IntelligenceXSkill -Path ".intelligencex/skills/my-skill/skill.json" -Enabled $true
```

Enable a skill again

### Example 3

```powershell
@(".intelligencex/skills/analysis/skill.json", ".intelligencex/skills/review/skill.json") | ForEach-Object { Set-IntelligenceXSkill -Path $_ -Enabled $true }
```

Enable multiple known skill config files in a loop

## Parameters

**-Enabled bool required**

Set to $true to enable, $false to disable.

**-Path string required**

Path to the skill configuration entry.

**-Client IntelligenceXClient optionalpipeline: true (ByValue)**

Client instance to use. Defaults to the active client.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:4C077AEE77A891B95F6F5CDF597034B3105D0A26E0B6B9E804304D4AEA86AFCD -->
