Using Windows PowerShell to perform Deployment Manager tasks

 

Applies To: Dynamics CRM 2015

You can use Windows PowerShell cmdlets to perform many of the tasks that can be performed by using the Deployment Manager user interface.

For more information about the Microsoft Dynamics CRM Windows PowerShell cmdlets, see Administering Microsoft Dynamics CRM 2015 by using Windows PowerShell.

Register the Microsoft Dynamics CRM cmdlet

  1. Log on to the administrator account on your Microsoft Dynamics CRM server.

  2. Open a Windows PowerShell prompt.

  3. Add the Microsoft Dynamics CRM Windows PowerShell snap-in:

PS > Add-PSSnapin Microsoft.Crm.PowerShell 

This command adds the Microsoft Dynamics CRM Windows PowerShell snap-in to the current session. The snap-in is registered during installation and setup of the Microsoft Dynamics CRM server.

To get a list of Microsoft Dynamics CRM cmdlets:

Get-Help *Crm*

For detailed help for a specific a cmdlet, use Get-Help CRMCmdlet –full, such as the Import-CRMOrganization cmdlet.

Get-Help Import-CRMOrganization

© 2016 Microsoft Corporation. All rights reserved. Copyright