This project has moved. For the latest updates, please go here.

Remove-CrmContent

Synopsis

Remove record

Syntax

Remove-CrmContent [-Entity] <String> [-Id] <Guid> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

Remove records from an entity

Parameters

-Entity <String>

Logicalname of the entity

Required? True
Position? 1
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Id <Guid>

Id of the record to remove

Required? True
Position? 2
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Force <SwitchParameter>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-WhatIf <SwitchParameter>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Confirm <SwitchParameter>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

This operation cannot be undone.

Examples

Remove record

PS C:\> Remove-CrmContent -Entity contact -Id 6549EA97-D641-4D27-8228-68BE593DF037

Remove the record with the specified Id from the entity Contact

Related links

Last edited Mar 11 at 7:02 PM by amsoftware, version 2