Microsoft Dynamics CRM PowerShell Reference
This topic lists the Windows PowerShell cmdlets for Microsoft Dynamics CRM and provides links to help topics for the cmdlets. You can use the cmdlets to manage your Microsoft Dynamics CRM deployment. It also includes cmdlets that enable you to connect to and deploy packages to a CRM instance.
Before you can use these PowerShell cmdlets, you must register them. For registering:
CRM Management Cmdlets, see Administer the deployment using Windows PowerShell.
Connector Cmdlets, see Use PowerShell cmdlets for XRM tooling to connect to CRM.
Package Deployment Cmdlets, see Use Windows PowerShell to deploy packages.
In This Topic
CRM Management Cmdlets
Name | Description |
---|---|
Adds a Microsoft Dynamics CRM database from a SQL MDF (raw database file) or a SQL backup file. |
|
Adds a Microsoft Dynamics CRM server to the specified deployment. |
|
Disables the specified Microsoft Dynamics CRM organization. |
|
Disables the specified Microsoft Dynamics CRM server. |
|
Edits properties of the specified Microsoft Dynamics CRM organization. |
|
Enables the specified Microsoft Dynamics CRM organization. |
|
Enables the specified Microsoft Dynamics CRM server. |
|
Retrieves the server licensing and client access license (CAL) licensing information for the Microsoft Dynamics CRMdeployment. |
|
Gets an advanced setting value for Microsoft Dynamics CRM. It is not intended for general use. |
|
Retrieves the certificate information for Microsoft Dynamics CRM. |
|
Retrieves the deployment administrators for the Microsoft Dynamics CRM deployment. |
|
Retrieves the license properties for Microsoft Dynamics CRM. |
|
Retrieves results from the monitoring service operations tests for the Microsoft Dynamics CRM deployment. |
|
Retrieves the status on asynchronous operations sitting in the asynchronous operation queue for Microsoft Dynamics CRM. |
|
Retrieves one or all of the organizations in the Microsoft Dynamics CRM deployment. |
|
Retrieves an XML file used to map users from a Microsoft Dynamics CRM organization about to be imported to an existing user domain. |
|
Retrieves a server object for one or all Microsoft Dynamics CRM servers in a deployment. |
|
Retrieves a Microsoft Dynamics CRM deployment setting object. |
|
Initiates the process to import a Microsoft Dynamics CRM organization database into the deployment. |
|
Creates a new deployment administrator for the Microsoft Dynamics CRM deployment. |
|
Initiates the process to create a new organization in the Microsoft Dynamics CRM deployment. |
|
Removes the specified certificate from Microsoft Dynamics CRM. |
|
Removes the specified deployment administrator from the Microsoft Dynamics CRM deployment. |
|
Deletes the specified organization from the Microsoft Dynamics CRM deployment. |
|
Deletes the specified server from the Microsoft Dynamics CRM deployment. |
|
Sets an advanced setting value for Microsoft Dynamics CRM. It is not intended for general use. |
|
Creates a certificate record or sets the properties of an existing certificate record in the Microsoft Dynamics CRM configuration database. |
|
Sets the product key for the Microsoft Dynamics CRM deployment. |
|
Sets the specified Microsoft Dynamics CRM deployment-wide settings. |
|
Updates the specified Microsoft Dynamics CRM organization with the latest software updates, or upgrades the organization to the latest available Microsoft Dynamics CRM release. |
Connector Cmdlets
Name | Description |
---|---|
Returns a connection to a Microsoft Dynamics CRM instance. |
|
Returns a list of Microsoft Dynamics CRM organizations. |
Package Deployment Cmdlets
Name | Description |
---|---|
Returns a list of available packages that can be deployed to a Microsoft Dynamics CRM instance. |
|
Imports a package to a Microsoft Dynamics CRM instance. |
See Also
Other Resources
Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online Implementation Guide
Blog: PowerShell module for performing data operations and manipulating user and system settings in CRM
Scripting with Windows PowerShell