Using Windows PowerShell to perform Deployment Manager tasks

 

Updated: December 9, 2016

Applies To: Dynamics 365 (on-premises), Dynamics CRM 2016

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 365Windows PowerShell cmdlets, see Administering Microsoft Dynamics CRM by using Windows PowerShell.

Register the Microsoft Dynamics 365 cmdlet

  1. Sign in to the administrator account on your Microsoft Dynamics 365 server.

  2. Open a Windows PowerShell prompt.

  3. Add the Microsoft Dynamics 365Windows PowerShell snap-in.

PS > Add-PSSnapin Microsoft.Crm.PowerShell 

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

Here’s how to get a list of Microsoft Dynamics 365 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. All rights reserved. Copyright

Community Additions

ADD
Show: