With powershell I am trying to do this...
enter-PSSession -ComputerName $server Add-PSSnapin Microsoft.Crm.PowerShellGet-CrmSetting TraceSettings
enter-PSSession -ComputerName $server
Add-PSSnapin Microsoft.Crm.PowerShell
Get-CrmSetting TraceSettings
But it keeps giving me this errorr
Please set Registry entry DeploymentWSUrl='http://FQN_DWS_MACHINE_NAME/XrmDeployment/2011/deployment.svc' onSoftware\Microsoft\MSCRM on LocalMachine + CategoryInfo : NotSpecified: (:) [Get-CrmSetting], ArgumentException + FullyQualifiedErrorId : System.ArgumentException,Microsoft.Crm.PowerShell.GetCrmSettingCmdlet
When I rdp into the box I can run the Get-CRmsetting command just fine...
I check the registry but I don't see any key like this, and besides I am not sure what the registry key would accomplish anyway.
I am hoping someone can help me resolve this so I can do some remote stuff with CRM!
What do you get when you use Invoke-Command to send the whole code as a scriptblock?
Invoke-Command { your code here } -computername target
Hey Tobias, Thanks for the reply. I ended up being able to resolve this...I probably should have put my resolution here...
So in case anyone else comes by....
I did need to add that string to the registry...however I couldn't figure out what url to use....this one finally worked
(get-crmsetting webaddresssettings).helpserverurl
The value in that property Was the url I used...then I added the /XrmDeployment/2011/deployment.svc Then everything seemed to work fine
great! Thanks for sharing... :-)