< Back
Get-CrmEntityTypeCode
Post
NAME Get-CrmEntityTypeCode
SYNOPSIS
Retrieves EntityTypeCode for an Entity.
SYNTAX
Get-CrmEntityTypeCode [-conn <CrmServiceClient>] [-EntityLogicalName] <String> [<CommonParameters>]
DESCRIPTION
The Get-CrmEntityTypeCode cmdlet lets you retrieve EntityTypeCode. You can specify EntityLogicalName.
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
-EntityLogicalName <String>
A logicalname for Entity. i.e.)account, contact, lead, etc..
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-CrmEntityTypeCode -conn $conn -EntityLogicalName account
This example retrieves EntityTypeCode for Account Entity.
1
-------------------------- Example 2 --------------------------
Get-CrmEntityTypeCode lead
This example retrieves EntityTypeCode for Lead Entity by omitting parameter names.
When omitting parameter names, you do not provide $conn, cmdlets automatically finds it.
4
RELATED LINKS
SYNOPSIS
Retrieves EntityTypeCode for an Entity.
SYNTAX
Get-CrmEntityTypeCode [-conn <CrmServiceClient>] [-EntityLogicalName] <String> [<CommonParameters>]
DESCRIPTION
The Get-CrmEntityTypeCode cmdlet lets you retrieve EntityTypeCode. You can specify EntityLogicalName.
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
-EntityLogicalName <String>
A logicalname for Entity. i.e.)account, contact, lead, etc..
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-CrmEntityTypeCode -conn $conn -EntityLogicalName account
This example retrieves EntityTypeCode for Account Entity.
1
-------------------------- Example 2 --------------------------
Get-CrmEntityTypeCode lead
This example retrieves EntityTypeCode for Lead Entity by omitting parameter names.
When omitting parameter names, you do not provide $conn, cmdlets automatically finds it.
4
RELATED LINKS