Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Latest commit

History

History
159 lines (120 loc) * 3.26 KB

Remove-CrmRelationship.md

File metadata and controls

159 lines (120 loc) * 3.26 KB
external help file Module Name online version schema
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml
AMSoftware.Crm
2.0.0

Remove-CrmRelationship

SYNOPSIS

Remove a relationship.

SYNTAX

RemoveRelationshipByName

Remove-CrmRelationship [-Name] [-Force] [-WhatIf] [-Confirm] []

RemoveRelationshipByEntity

Remove-CrmRelationship [-Entity] [-FromEntity] [-Attribute ] [-Force] [-WhatIf]
[-Confirm] []

DESCRIPTION

Remove a relationship.

EXAMPLES

PARAMETERS

-Attribute

The LogicalName of the attribute on the entity to remove the lookup from.

This is only required if the relationship cannot be uniquely determined for both entities.

Type: System.String
Parameter Sets: RemoveRelationshipByEntity
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Entity

The LogicalName of the entity to remove to relationship for.

Type: System.String
Parameter Sets: RemoveRelationshipByEntity
Aliases: EntityLogicalName

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Force

Executes the action without prompting for confirmation.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FromEntity

The LogicalName of the entity to remove the relationship from.

Type: System.String
Parameter Sets: RemoveRelationshipByEntity
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

The SchemaName of the relationship to remove.

Type: System.String
Parameter Sets: RemoveRelationshipByName
Aliases: SchemaName

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

System.String

OUTPUTS

System.Object

NOTES

RELATED LINKS

Add-CrmRelationship

Get-CrmRelationship

Set-CrmRelationship