Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Operating Microsoft Dynamics CRM

Operating Microsoft Dynamics CRM includes guaranteeing availability by monitoring server status and performance, making backups, planning for recovery from disasters, and ongoing troubleshooting.

Using Windows PowerShell to perform Microsoft Dynamics CRM deployment and administration tasks

You can use Windows PowerShell cmdlets and the Deployment Manager to perform deployment and administration tasks. You can also use the methods that are described in the Microsoft Dynamics CRM SDK to perform these tasks. The cmdlets are installed on the computer when you install a Full Server role or where you install the Deployment Tools server role, if you are installing individual server roles.

ImportantImportant
You must register the Microsoft Dynamics CRM Windows PowerShell commands, otherwise you will receive the following message when you try to run a cmdlet.

The term ‘Microsoft Dynamics CRM Windows PowerShell command' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

To register the Microsoft Dynamics CRM Windows PowerShell commands, follow these steps.

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

  2. Open a Windows PowerShell prompt.

  3. At the Windows PowerShell prompt, add the Microsoft Dynamics CRM Windows PowerShell snap-in:

    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 Microsoft Dynamics CRM Server.

For a list of supported Microsoft Dynamics CRM Windows PowerShell cmdlets, see User PowerShell to Call the Deployment Web Service.

Setting Microsoft Dynamics CRM properties manually

Some properties are not unique to a single entity in Microsoft Dynamics CRM. Therefore, we recommend that you specify the GUID ID of the specific entity when you want to change a property. For example, you should use the organization ID when you change an organization property by using Windows PowerShell or the Deployment Web Service.

For more information about the Windows PowerShell cmdlets for Microsoft Dynamics CRM see, the Microsoft Dynamics CRM Deployment Manager Help.

For more information about Windows PowerShell, see Scripting with Windows PowerShell.

For a list of supported Microsoft Dynamics CRM Windows PowerShell cmdlets, see User PowerShell to Call the Deployment Web Service.

For more information about the Deployment Web Service see Deployment Web Service in Microsoft Dynamics CRM.

In This Section

See Also

Send comments about this article to Microsoft.

© 2013 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.