IntelligenceX
Cmdlet

Wait-IntelligenceXLogin

Namespace IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient

Waits for the login flow to complete.

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

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.

Syntax

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

Parameters

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