Add-BT_CustomerEndUser -Ticket <Ticket> [-Environment <string>] [-Id <guid>] [-IsDeleted <bool>] [-Created <datetime>] [-Updated <datetime>] [-Version <int>] [-SystemUserId <guid>] [-OrganizationId <guid>] [-PrimaryIdentity <string>] [-PrimaryEmailAddress <string>] [-ExternalId <string>] [-FirstName <string>] [-LastName <string>] [-FullName <string>] [-DisplayName <string>] [-EmailAddress <string>] [-UserPrincipalName <string>] [-GeneratedIdentity <string>] [-ShortId <string>] [-AgentSendStatus <AgentSendStatus>] [-IsArchived <bool>] [-ResourceId <guid>] [-AccessLevel <AccessLevel>] [-ActiveSubscriptionId <guid>] [-SubscriptionId <guid>] [<CommonParameters>]
Add-BT_CustomerEndUser -Ticket <Ticket> -EndpointUrl <string> [-Id <guid>] [-IsDeleted <bool>] [-Created <datetime>] [-Updated <datetime>] [-Version <int>] [-SystemUserId <guid>] [-OrganizationId <guid>] [-PrimaryIdentity <string>] [-PrimaryEmailAddress <string>] [-ExternalId <string>] [-FirstName <string>] [-LastName <string>] [-FullName <string>] [-DisplayName <string>] [-EmailAddress <string>] [-UserPrincipalName <string>] [-GeneratedIdentity <string>] [-ShortId <string>] [-AgentSendStatus <AgentSendStatus>] [-IsArchived <bool>] [-ResourceId <guid>] [-AccessLevel <AccessLevel>] [-ActiveSubscriptionId <guid>] [-SubscriptionId <guid>] [<CommonParameters>]
Add-BT_CustomerEndUser adds a(an) BT_CustomerEndUser. Represents an MSPC customer end user.
Paremeter specs:
Required | True |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | True |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Available values are listed below.
Value | Description |
---|---|
NotSent | Not sent. |
Pending | Pending. |
Sent | Sent. |
FailedToBeSent | Failed to be sent. |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Available values are listed below.
Value | Description |
---|---|
BT | Represents BT |
Beta | Represents Beta |
Develop | Represents Develop |
Release | Represents Release |
Test | Represents Test |
China | Represents China |
Germany | Represents Germany |
Alpha | Represents Alpha |
Today | Represents Today |
Sandbox-02 | Represents Sandbox-02 |
Sandbox-03 | Represents Sandbox-03 |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
System.Object
Ticket requirement
Customer end users are under customers, thus this cmdlet requires a ticket scoped to a customer's organization Id.
Primary email address
Primary emaill address must be provided.
-------------------------- Example 1 -------------------------
# Retrieve a ticket scoped with a customer's organization id
$customerTicket = Get-BT_Ticket -Ticket $btTicket -OrganizationId $customers.OrganizationId
# Add a customer end user
$endUser = Add-BT_CustomerEndUser -Ticket $customerTicket -PrimaryEmailAddress "user@domain.com" -FirstName "John" -LastName "Smith"