IntelligenceX
Command

Wait-IntelligenceXLogin

Module
IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient

Waits for the login flow to complete.

Syntax

Wait-IntelligenceXLogin
[-Client <IntelligenceXClient>]
[-LoginId <string>]
[-TimeoutSeconds <int>]
[<CommonParameters>]
#

Examples

Example 1

Wait-IntelligenceXLogin

Wait for the current login to finish

Example 2

Wait-IntelligenceXLogin -LoginId $login.LoginId -TimeoutSeconds 120

Wait for a specific login with a shorter timeout

Example 3

$login = Start-IntelligenceXChatGptLogin; Wait-IntelligenceXLogin -LoginId $login.LoginId

Start and wait in one flow

Parameters

-Client IntelligenceXClient optionalpipeline: true (ByValue)
Client instance to use. Defaults to the active client.
-LoginId string optional
Optional login identifier to wait for.
-TimeoutSeconds int optional
Maximum wait time in seconds before cancellation.

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.