IntelligenceX
Command

Get-IntelligenceXHealth

Module
IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient
Outputs
IntelligenceX.PowerShell.HealthReportRecord

Runs health checks for OpenAI app-server and optional Copilot CLI.

Syntax

Get-IntelligenceXHealth
[-Client <IntelligenceXClient>]
[-Copilot]
[-CopilotAutoInstall]
[-CopilotCliPath <string>]
[-CopilotCliUrl <string>]
[-CopilotInstallMethod <Auto|Winget|Homebrew|Npm|Script>]
[-CopilotInstallPrerelease]
[-CopilotWorkingDirectory <string>]
[-NoConfig]
[<CommonParameters>]
#

Examples

Example 1

Get-IntelligenceXHealth

Check OpenAI app-server health

Example 2

Get-IntelligenceXHealth -Copilot

Check OpenAI and Copilot CLI health

Example 3

Get-IntelligenceXHealth -Copilot -CopilotCliPath "copilot" -CopilotAutoInstall

Check Copilot with explicit path and auto-install enabled

Parameters

-Client IntelligenceXClient optionalpipeline: true (ByValue)
OpenAI/app-server client instance. Defaults to the active client.
-Copilot SwitchParameter optional
Run a Copilot CLI health check.
-CopilotAutoInstall SwitchParameter optional
Auto-install Copilot CLI if missing.
-CopilotCliPath string optional
Copilot CLI path.
-CopilotCliUrl string optional
Copilot CLI URL (host:port).
-CopilotInstallMethod CopilotCliInstallMethod optional
Copilot auto-install method to use when -CopilotAutoInstall is set. Possible values: Auto, Winget, Homebrew, Npm, Script
Possible values: Auto, Winget, Homebrew, Npm, Script
-CopilotInstallPrerelease SwitchParameter optional
Copilot auto-install prerelease.
-CopilotWorkingDirectory string optional
Copilot CLI working directory.
-NoConfig SwitchParameter optional
Ignore .intelligencex/config.json overrides.

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.