Answered by:
Installing Deployment Tools roll after the fact

Question
-
Hi.
I need figure out why our c:\crmdrop\logs is becoming bloated. To do that I figured I would first check whether tracing is enabled. I am not comfortable going into the registry so I wanted to try using the PowerShell snap-in. Only there is a problem: I do not think our IT Dept installed the Deployment Tools. I learned according this: http://community.dynamics.com/product/crm/crmtechnical/b/billoncrm/archive/2011/07/07/crm-2011-and-powershell.aspx, that "As part of the CRM Server install you can install the Deployment Tools role. After this role is installed you are able to add the Dynamics CRM PowerShell-Snap-In to your PowerShell session." and then this: http://msdn.microsoft.com/en-us/library/gg328563.aspx, where I need to run the following cmd-let:
PS C:\Users\Administrator> Add-PSSnapin Microsoft.Crm.PowerShell
But when I run that i get an error message:
Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2.
At line:1 char:13
+ Add-PSSnapin <<<< Microsoft.Crm.PowerShell
+ CategoryInfo : InvalidArgument: (Microsoft.Crm.PowerShell:String) [Add-PSSnapin], PSArgumentException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommandAny ideas?
Wednesday, January 18, 2012 7:19 PM
Answers
-
It will tell you if the tracing is enabled and on which folder are the trace logs being generated, so if the folder is c:\crmdrop\logs you will know.
Regards,
Damian Sinay- Marked as answer by javaman21011 Thursday, January 19, 2012 5:47 PM
Thursday, January 19, 2012 8:06 AM
All replies
-
If you only want to enable or disable tracing without going to the registry I would recommend using the CrmDiagTool2011 you can download from http://crmdiagtool2011.codeplex.com/
Regards,
Damian SinayThursday, January 19, 2012 4:55 AM -
But will that tell me why out c:\crmdrop\logs is becoming bloated?
Thursday, January 19, 2012 7:37 AM -
It will tell you if the tracing is enabled and on which folder are the trace logs being generated, so if the folder is c:\crmdrop\logs you will know.
Regards,
Damian Sinay- Marked as answer by javaman21011 Thursday, January 19, 2012 5:47 PM
Thursday, January 19, 2012 8:06 AM