Cmdlet
Wait-IntelligenceXLogin
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
- 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.