New-PSUAiAgent
Creates a new AI agent definition.
SYNOPSIS
SYNTAX
New-PSUAiAgent [-Name] <String> [-Description <String>] [-Instructions <String>] [-Model <String>]
[-ApiKey <Variable>] [-Tool <String[]>] [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIPTION
EXAMPLES
Example 1
PS C:\> New-PSUAiAgent -Name SupportAgent -Description "Tier 1 assistant" -Instructions "Answer from the knowledge base first." -Model gpt-4o-mini -Tool GetUsers,GetTicketsPARAMETERS
-ApiKey
-AppToken
-ComputerName
-Cookies
-Credential
-Description
-Instructions
-Integrated
-Model
-Name
-Tool
-TrustCertificate
-UseDefaultCredentials
CommonParameters
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
Last updated
Was this helpful?