Cmdlet
Get-IntelligenceXAccount
Returns the current account details.
Examples
Example 1
Get-IntelligenceXAccount
Get account info
Example 2
Get-IntelligenceXAccount -Raw
Get raw JSON account payload
Example 3
$login = Start-IntelligenceXChatGptLogin; Wait-IntelligenceXLogin -LoginId $login.LoginId; Get-IntelligenceXAccount
Verify account after login in a script
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
Get-IntelligenceXAccount [-Client <IntelligenceXClient>] [-Raw] [<CommonParameters>]#Parameters
- Client IntelligenceXClient
- Client instance to use. Defaults to the active client.
- Raw SwitchParameter
- Returns the raw JSON-RPC payload instead of typed account info.
Outputs
IntelligenceX.Json.JsonValue, IntelligenceX.OpenAI.AppServer.Models.AccountInfo