IT tutorials
 
Technology
 

PowerShell for SharePoint 2013 : Work Management Service (part 2) - Configure the Search Query Threshold , Configure the User Synchronization Per Server

1/13/2014 12:28:35 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

4. Configure the Search Query Threshold


Scenario/Problem: You would like to configure the minimum time between calls to the Search Service within the Work Management Service application.


Solution: Use the Set-SPWorkManagementServiceApplication cmdlet with the -MinimumTimeBetweenSearchQueries parameter.

You can use the -MinimumTimeBetweenSearchQueries cmdlet to configure the minimum amount of time between calls to the Search Service to identify updated or new tasks within task lists. The search query occurs during the provider refresh process. The service application waits until the time specified before it processes new search queries.

The data type of this parameter is System.TimeSpan; therefore, creating a new time span variable to provide is recommended (see Listing 4).

Listing 4. Configuring the Search Query Setting


$refreshTimeSpan = New-TimeSpan -Minutes 15
Set-SPWorkManagementServiceApplication
-Identity "Work Management Service"
-MinimumTimeBetweenSearchQueries $refreshTimeSpan


The Identity parameter also can be a specific Work Management Service application instance using the Get-SPServiceApplication cmdlet, as explained in the previous section.

5. Configure the User Synchronization Per Server


Scenario/Problem: You would like to configure the maximum number of users that each server can synchronize.


Solution: Use the Set-SPWorkManagementServiceApplication cmdlet with the -NumberOfExchangeJobsPerServer parameter.

You can use the -NumberOfExchangeJobsPerServer cmdlet to configure the maximum number of users that may be synchronized per server. A server is categorized by any server in the farm that is running the Exchange Server sync timer job.

The data type for this parameter is System.UInt32; therefore, you may provide an integer value, as shown in Listing 5. The minimum value technically should be the number of SharePoint users divided by the number of servers that run timer jobs.

Listing 5. Configuring the User Synchronization Setting


Set-SPWorkManagementServiceApplication
-Identity "Work Management Service"
-NumberOfExchangeJobsPerServer 1000


The actual timer job is named Work Management Synchronize with Exchange.

 
Others
 
- PowerShell for SharePoint 2013 : Work Management Service (part 1) - Get a Specific Work Management Service Application Instance , Configure the Refresh Threshold
- Sharepoint 2013 : Creating List Views - Specify How Items in a View Are Sorted
- Sharepoint 2013 : Creating List Views - Specify Columns for a View to Display, Specify the Order of the Columns in a View
- Sharepoint 2013 : Create a Personal or Public View for a List or Library (part 3) - Create a Gantt View
- Sharepoint 2013 : Create a Personal or Public View for a List or Library (part 2) - Create a Calendar View
- Sharepoint 2013 : Create a Personal or Public View for a List or Library (part 1) - Create a Standard View
- System Center Configuration Manager 2007 : Distributing Packages - Advertised Programs Client Agent, Troubleshooting ConfigMgr Software Distribution Issues
- System Center Configuration Manager 2007 : Using Distribution Points (part 3) - Branch Distribution Points
- System Center Configuration Manager 2007 : Using Distribution Points (part 2) - Protected Distribution Points
- System Center Configuration Manager 2007 : Using Distribution Points (part 1) - Standard Distribution Points
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us