Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Latest commit

 

History

History
108 lines (73 loc) · 2.49 KB

Add-CrmAttribute.md

File metadata and controls

108 lines (73 loc) · 2.49 KB
external help file Module Name online version schema
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml
AMSoftware.Crm
2.0.0

Add-CrmAttribute

SYNOPSIS

Add an attribute to an entity.

SYNTAX

Add-CrmAttribute [-Entity] <String> [-InputObject] <AttributeMetadata> [-PassThru] [<CommonParameters>]

DESCRIPTION

Add an attribute to an entity.

EXAMPLES

PARAMETERS

-Entity

The LogicalName of the entity to add the attribute to.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-InputObject

The AttributeMetadata of the attribute to add.

Type: Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
Parameter Sets: (All)
Aliases: Attribute

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

-PassThru

Returns an object that represents the AttributeMetadata. By default, this cmdlet does not generate any output.

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

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

Microsoft.Xrm.Sdk.Metadata.AttributeMetadata

OUTPUTS

Microsoft.Xrm.Sdk.Metadata.AttributeMetadata

NOTES

RELATED LINKS

Add-CrmBigIntAttribute

Add-CrmBooleanAttribute

Add-CrmDateTimeAttribute

Add-CrmDecimalAttribute

Add-CrmDoubleAttribute

Add-CrmImageAttribute

Add-CrmIntegerAttribute

Add-CrmMemoAttribute

Add-CrmMoneyAttribute

Add-CrmOptionSetAttribute

Add-CrmStringAttribute

AttributeMetadata Class