Using Windows PowerShell to perform Deployment Manager tasks
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
Sign in to the administrator account on your Microsoft Dynamics 365 server.
Open a Windows PowerShell prompt.
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
See Also
Use Deployment Manager to manage the deployment
Configure claims-based authentication
© 2016 Microsoft. All rights reserved. Copyright