Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.

September 2013

Noderunner.exe – show search role (Query, Index, ContentProcessing, Analytics, Admin)

During performance troubleshooting you might discover “noderunner.exe” is consuming a lot of hardware.   But what does it do?   Well, noderunner supports everything for search in SharePoint 2013.  The trick is knowing which PID instance of “noderunner.exe” matching to which search role:

  • Query
  • Index
  • ContentProcessing
  • Analytics
  • Admin

Below you can see the “Command Line” property of each running process.   Here, we can see the “—noderoot” argument when the EXE first launched.  That clearly shows the role so you’ll know if CPU is high or RAM is low because of a single particular search role.  Also, I’ve included a PowerShell command to get the same output.

Hope that helps! 

Smile

 

 

image
image
image
image

Backup-SPSite (with build version)

When backing up site collections I like to add the farm build version.   Why?   Helps me compare to other farms during restore and know if the patch level is too high/low.    Also, when doing long term restores from months earlier it’s nice to know what the farm version was when the original backup was taken.

Just a small tip, but one I find handy for support.

 

 

9-26-2013 8-22-11 AM
2

PowerShell – Notify all site users for outage / maintenance

The below PowerShell can be used to email all users of all site collections on your system.   I find this helpful when planning maintenance outages to alert users of the down time, impact, and changes being performed.

 

 

image

PowerShell – add security permission levels NoDelete AddOnly

Sometimes I need to enable Contributor site access but with safety limitations.  “NoDelete” is the name I give for Contributor without Delete permissions.  “AddOnly” is the name I give for Contributor without Delete or Edit permissions.  Below is a quick PowerShell script “NoDeleteAddOnly.ps1” to create those permission levels.

UPDATE – Added SharePoint Online (CSOM)

SharePoint On-Premise (SOM)

image
image

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲