Home » Microsoft » MB2-708 » What should you do?
You have a deployment of Dynamics CRM 2015 that contains multiple organizations.
You need to limit the number of systems jobs that can be queued for a single organization.
What should you do?
A. From the web application, modify the system settings.
B. From Deployment Manager, modify the organization settings.
C. From Windows PowerShell, run the Set-CRMAdvancedSettings cmdlet
D. From Windows PowerShell, run the Edit-CRMOrganization cmdlet.
Correct Answer: C
Explanation/Reference:
You can limit the number of asynchronous jobs that can be queued per organization with a PowerShell script:
add-pssnapin Microsoft.Crm.Powershell
$itemSetting = new-object
‘System.Collections.Generic.KeyValuePair[String,Object]'("AsyncSelectMaxItems",100) $configEntity = New-Object
"Microsoft.Xrm.Sdk.Deployment.ConfigurationEntity" $configEntity.LogicalName="Deployment"
$configEntity.Attributes = New-Object "Microsoft.Xrm.Sdk.Deployment.AttributeCollection" $configEntity.Attributes.Add($itemSetting)
Set-CrmAdvancedSetting -Entity $configEntity