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.47 KB

Set-CrmAttribute.md

File metadata and controls

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

Set-CrmAttribute

SYNOPSIS

Update an attribute.

SYNTAX

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

DESCRIPTION

Update an attribute.

EXAMPLES

PARAMETERS

-Entity

The LogicalName of the entity to update the attribute for.

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

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

-InputObject

The updated AttributeMetadata of the attribute.

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

Set-CrmBigIntAttribute

Set-CrmBooleanAttribute

Set-CrmDateTimeAttribute

Set-CrmDecimalAttribute

Set-CrmDoubleAttribute

Set-CrmImageAttribute

Set-CrmIntegerAttribute

Set-CrmMemoAttribute

Set-CrmMoneyAttribute

Set-CrmOptionSetAttribute

Set-CrmStringAttribute

AttributeMetadata Class