Share via


Add-CrmFlightAudience

Adds the specified environment to a particular flight.

Syntax

Default (Default)

Add-CrmFlightAudience
    -FlightId <Guid>
    -InstanceId <Guid>
    [-ApiUrl] <Uri>
    [[-Credential] <PSCredential>]
    [-MaxCrmConnectionTimeOutMinutes <Int32>]
    [<CommonParameters>]

Description

The Add-CrmFlightAudience cmdlet adds the specified environment to a particular flight.

Examples

Example 1

PS C:\> Add-CrmFlightAudience -ApiUrl $connectionhost -Credential $cred -FlightId &lt;Guid&gt; -InstanceId &lt;Guid&gt;

Adds the specified environment to preview a particular flight identified by using the FlightId parameter.

Parameters

-ApiUrl

URL of the Dataverse root service endpoint. For information about this parameter see Establish your credentials and connection.

Parameter properties

Type:Uri
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Credential

User credential for signing in to Dataverse. For information about this parameter see Establish your credentials and connection.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-FlightId

Uniquely identifies a particular flight. Use the Get-CrmFlights cmdlet to return all available flights.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-InstanceId

Id for the specific Dataverse environment. Use the Get-CrmInstances cmdlet to find all Ids within the same tenant.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-MaxCrmConnectionTimeOutMinutes

Maximum number in minutes to wait before quitting the operation.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

System.Guid

System.Uri

System.Management.Automation.PSCredential

System.Int32

Outputs

System.Object