Sharing the Point

Office 365, SharePoint, Project Server – Blog

Archive for the ‘Dynamics CRM’ Category

Microsoft Dynamics CRM consulting, support, customization

Dynamics CRM-Enabling Trace Settings with PowerShell

Posted by Ashraf on December 30, 2011

This post describe the way how you can enable trace in Microsoft Dynamics CRM 2011 for debugging and troubleshooting any issue using powershell.

How to Enable Dynamics CRM 2011 Trace Settings with PowerShell

  1. Log into the administrator account on your Microsoft Dynamics CRM server.
  2. In a Windows PowerShell window, type the following command:
    Add-PSSnapin Microsoft.Crm.PowerShell

Get a list of the current settings. Type the following command:

Get-CrmSetting TraceSettings

Set the Trace Settings

  1. Type the following command:
    $setting = Get-CrmSetting TraceSettings
  2. Type the following command to enable tracing:
    $setting.Enabled=”True”
  3. Type the following command to set the trace settings:
    Set-CrmSetting $setting
  4. Type the following command to get a current list of the trace settings:
    Get-CrmSetting TraceSettings

Posted in Dynamics CRM, System Administration | Tagged: , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 59 other followers