< Back
Get-CrmEntityName
Post
NAME Get-CrmEntityName
SYNOPSIS
Retrieves Entity logicalname for EntityTypeCode.
SYNTAX
Get-CrmEntityName [-conn <CrmServiceClient>] [-EntityTypeCode] <Int32> [<CommonParameters>]
DESCRIPTION
The Get-CrmEntityName cmdlet lets you retrieve Entity logicalname. You can specify EntityTypeCode.
PARAMETERS
-conn <CrmServiceClient>
A connection to your CRM organization. Use $conn = Get-CrmConnection <Parameters> to generate it.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EntityTypeCode <Int32>
A number for Entity.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
Get-CrmEntityName -conn $conn -EntityTypeCode 1
This example retrieves Entity logicalname for EntityTypeCode 1 (Account).
account
-------------------------- Example 2 --------------------------
Get-CrmEntityName 4200
This example retrieves Entity logicalname for EntityTypeCode 4200 (Activity) by omitting parameter names.
When omitting parameter names, you do not provide $conn, cmdlets automatically finds it.
activitypointer
RELATED LINKS
SYNOPSIS
Retrieves Entity logicalname for EntityTypeCode.
SYNTAX
Get-CrmEntityName [-conn <CrmServiceClient>] [-EntityTypeCode] <Int32> [<CommonParameters>]
DESCRIPTION
The Get-CrmEntityName cmdlet lets you retrieve Entity logicalname. You can specify EntityTypeCode.
PARAMETERS
-conn <CrmServiceClient>
A connection to your CRM organization. Use $conn = Get-CrmConnection <Parameters> to generate it.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EntityTypeCode <Int32>
A number for Entity.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
Get-CrmEntityName -conn $conn -EntityTypeCode 1
This example retrieves Entity logicalname for EntityTypeCode 1 (Account).
account
-------------------------- Example 2 --------------------------
Get-CrmEntityName 4200
This example retrieves Entity logicalname for EntityTypeCode 4200 (Activity) by omitting parameter names.
When omitting parameter names, you do not provide $conn, cmdlets automatically finds it.
activitypointer
RELATED LINKS