Remove-CrmFlightAudience

Removes the environment as an audience to a particular flight.

Syntax

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

Description

The Remove-CrmFlightAudience cmdlet removes the environment as an audience to a particular flight.

Examples

Example 1

PS C:\> Remove-CrmFlightAudience -ApiUrl $connectionhost -Credential $cred -FlightId <Guid> -InstanceId <Guid>

Removes the flight as specifed by the FlightId parameter from the specified environment as specified by the InstanceId parameter.

Parameters

-ApiUrl

URL of the Common Data Service root service endpoint.

Type:Uri
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Credential

User credential for signing in to Common Data Service.

Type:PSCredential
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-FlightId

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

Type:Guid
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-InstanceId

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

Type:Guid
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-MaxCrmConnectionTimeOutMinutes

Maximum number in minutes to wait before quitting the operation.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

System.Guid

System.Uri

System.Management.Automation.PSCredential

System.Int32

Outputs

System.Object