Please find the list of cmdlets and usage of them .
Functions | usage |
---|---|
Add-CrmActivityToCrmRecord | Create a new activity to a record. |
Add-CrmMultiRecordAssociation | Associates multiple records to single record for N:N relationship. |
Add-CrmNoteToCrmRecord | Create a new note (annotation) to a record. |
Add-CrmRecordAssociation | Associates two records for N:N relationship. |
Add-CrmSampleData | Add sample data CRM Organization. |
Add-CrmSecurityRoleToTeam | Assigns a security role to a team. |
Add-CrmSecurityRoleToUser | Assigns a security role to a user. |
Approve-CrmEmailAddress | Approve email address change of a user or a queue. |
Connect-CrmOnline | Connects to CRM Online organization without using Discovery Service. |
Connect-CrmOnlineDiscovery | Retrieves all CRM Online Organization you belong to, let you selectwhich organization to login, then returns connection information. |
Connect-CrmOnPremDiscovery | Retrieves all CRM OnPrem orgs you belong to, let you select which organization to login, then returns connection information. |
Disable-CrmLanguagePack | Executes DeprovisionLanguageRequest Organization Request. |
Enable-CrmLanguagePack | Executes ProvisionLanguageRequest Organization Request. |
Export-CrmApplicationRibbonXml | Retrieves the ribbon definition XML for application and saves ittoa file on the file system. |
Export-CrmEntityRibbonXml | Retrieves the ribbon definition XML for an Entity and saves it to afile on the file system. |
Export-CrmSolution | Exports a solution by Name from a CRM Organization. |
Export-CrmSolutionTranslation | Exports a translation from a solution. |
Get-CrmAllLanguagePacks | Executes RetrieveAvailableLanguagesRequest Organization Request. |
Get-CrmEntityAllMetadata | Retrieves all Metadata for CRM organization. |
Get-CrmEntityAttributeMetadata | Retrieves an attribute metadata for an Entity. |
Get-CrmEntityAttributes | Retrieves all attributes metadata for an Entity. |
Get-CrmEntityDisplayName | Retrieves Display Name for an Entity. |
Get-CrmEntityDisplayPluralName | Retrieves Display Plural Name for an Entity. |
Get-CrmEntityMetadata | Retrieves Metadata for an Entity. |
Get-CrmEntityName | Retrieves Entity logicalname for EntityTypeCode. |
Get-CrmEntityOptionSet | Retrieves a picklist field of an Entity. |
Get-CrmEntityRecordCount | Retrieves total record count for an Entity. |
Get-CrmEntityTypeCode | Retrieves EntityTypeCode for an Entity. |
Get-CrmFailedWorkflows | Retrieves alert notifications from CRM organization. |
Get-CrmGlobalOptionSet | Retrieves a global OptionSet. |
Get-CrmLicenseSummary | Displays License assignment and AccessMode/CalType summary. |
Get-CrmOrgDbOrgSettings | Retrieves CrmOrgDbOrgSettings. |
Get-CrmRecord | Retrieves a CRM record by specifying EntityLogicalName, record’sId(guid) and field names. |
Get-CrmRecords | Retrieves CRM records by using single filter condition. |
Get-CrmRecordsByFetch | Retrieves CRM records by using FetchXML query. |
Get-CrmRecordsByViewName | Retrieves CRM records by using View Name. |
Get-CrmRecordsCount | Retrieves CRM entity total record counts. |
Get-CrmSdkMessageProcessing StepsForPluginAssembly | Retrieves all registered steps for Plugin. |
Get-CrmSiteMap | Retrieves CRM Organization’s SiteMap information. |
Get-CrmSystemSettings | Retrieves CRM Organization’s System Settings. |
Get-CrmTimeZones | Retrieves CRM Timezone information. |
Get-CrmTraceAlerts | Retrieves alert notifications from CRM organization. |
Get-CrmUserMailbox | Retrieves CRM user’s mailbox. |
Get-CrmUserPrivileges | Retrieves privileges a CRM User has. |
Get-CrmUserSecurityRoles | Retrieves Security Roles assigned to a CRM User. |
Get-CrmUserSettings | Retrieves CRM user’s settings. |
Get-MyCrmUserId | Retrieves login user’s CRM UserId (guid). |
Grant-CrmRecordAccess | Grant access privilege to a crm record. |
Import-CrmSolution | Imports solution file to CRM Organization…. |
Import-CrmSolutionAsync | Import a solution using an import job. |
Import-CrmSolutionTranslation | Imports a translation to a solution. |
Invoke-CrmAction | Invoke a CDS or CRM Action |
Invoke-CrmRecordWorkflow | Runs an on-demand workflow for a record. |
Invoke-CrmWhoAmI | Executes WhoAmI Organization Request and returns current user’sId(guid), belonging BusinessUnit Id (guid) and CRM Organization Id (guid). |
Merge-CrmHoldingSolutionAsync | |
Move-CrmRecordToQueue | Move a CRM record to a Queue |
New-CrmEntityReference | Instantiates EntityReference type object. |
New-CrmMoney | Instantiates Money type object. |
New-CrmOptionSetValue | Instantiates OptionSetValue type object. |
New-CrmRecord | Creates a new CRM record by specifying field name/value set, andreturns record guid. |
Publish-CrmAllCustomization | Publishes all customizations for a CRM Organization. |
Publish-CrmCustomization | Publishes specified customizations for a CRM Organization. |
Publish-CrmEntity | Publishes customization for an Entity. |
Publish-CrmTheme | Publishes a Theme for a CRM Organization. |
Remove-CrmEntityMetadataCache | Removes metadata cache for an Entity. |
Remove-CrmRecord | Delete a CRM record by specifying EntityLogicalName and record’sId(guid) |
Remove-CrmRecordAssociation | Associates two records for N:N relationship. |
Remove-CrmSampleData | Removes sample data CRM Organization. |
Remove-CrmSecurityRoleFromTeam | Removes a security role from a team. |
Remove-CrmSecurityRoleFromUser | Removes a security role to a user. |
Remove-CrmUserManager | Removes CRM user’s manager. |
Revoke-CrmEmailAddress | Revoke email address change of a user or a queue. |
Revoke-CrmRecordAccess | Revokes (removes) access rights on the target record for the specified security principal (user or team). |
Set-CrmActivityRecordToCloseState | Close an activity record. |
Set-CrmConnectionCallerId | Sets CRM Connection CallerId to impersonate. |
Set-CrmConnectionTimeout | Sets CRM Connection timeout value in seconds. |
Set-CrmQueueMailbox | |
Set-CrmRecord | Updates a new CRM record by specifying EntityLogicalName, record’sId (guid) and field name/value sets. |
Set-CrmRecordAccess | Sets a security principal’s (user or team) access to the specifiedrecord. |
Set-CrmRecordOwner | Assign an user as a CRM record’s owner |
Set-CrmRecordState | Sets Status/State for a CRM record. |
Set-CrmSolutionVersionNumber | … |
Set-CrmSystemSettings | Update CRM Organization’s System Settings. |
Set-CrmUserBusinessUnit | Moves Crm User to another Business Unit. |
Set-CrmUserMailbox | Updates CRM user’s mailibox. |
Set-CrmUserManager | Sets CRM user’s manager. |
Set-CrmUserSettings | Update CRM user’s settings. |
Test-CrmSampleDataInstalled | Checks if sample data has been installed to CRM Organization. |
Test-CrmTimerStart | |
Test-CrmTimerStop | |
Test-CrmViewPerformance | Test CRM View performance. |
Get-CrmConnection | Returns a connection to a Microsoft Dynamics CRM instance. |
Get-CrmOrganizations | Returns a list of Microsoft Dynamics CRM organizations that thecurrent user has access to. |
We deep drive in to some of useful cmdlets by group them to achieve specific automation processes and further we will go through some examples .