Command
Wait-IntelligenceXLogin
Waits for the login flow to complete.
Syntax
Wait-IntelligenceXLogin
[-Client <IntelligenceXClient>]
[-LoginId <string>]
[-TimeoutSeconds <int>]
[<CommonParameters>]#Examples
Example 1
Wait-IntelligenceXLoginWait for the current login to finish
Example 2
Wait-IntelligenceXLogin -LoginId $login.LoginId -TimeoutSeconds 120Wait for a specific login with a shorter timeout
Example 3
$login = Start-IntelligenceXChatGptLogin; Wait-IntelligenceXLogin -LoginId $login.LoginIdStart and wait in one flow
Parameters
- -Client IntelligenceXClient
- Client instance to use. Defaults to the active client.
- -LoginId string
- Optional login identifier to wait for.
- -TimeoutSeconds int
- 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.