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

Blog

SharePoint admin nirvana: SPDash !!!

I love SharePoint, but servers can drive me crazy.  So many!  So check this out …  http://spdash.codeplex.com/  Allows lightening fast multiple server management. RDP doesn’t scale. Manage 10 servers easier than 1 with incredible "Grid" scripts that put everything on one page.

Benefits

  • Do admin tasks faster
  • Scale up beyond RDP
  • Add new servers without fear

Features

  • Pure XML config
  • Auto-detect SharePoint farm (machines + users)
  • Grid output, easy to read
  • Copy and paste to Excel

Real application screen-shots:

Background
DevAdmin is how I think of my work. An administrator that uses development (script/code) to get more done with less. A developer that administers system capacity, performance, and scale. It’s a mix. And it’s a beautiful thing.
SharePoint farms have many servers with various services, applications, traffic patterns, and purposes. Having "grid" scripts like the below sample screen-shots can be a life saver. What’s a "grid"? Simple. I wanted to build a real-time Excel spreadsheet to display ALL configuration without RDP. RDP won’t scale. While great for 1-2 servers, it is awful for 10+ servers. Having confidence in your configs and knowing everything is 100% consistent are BIG steps forward for most admins.

FIXED – DeleteElementAddToMyColleaguesURL People Search

If you ever see the below People Search error go double check your indexed User Profile Properties.   I saw this recently and the root cause was a missing “Indexed” checkbox.   Enabling the Indexed checkbox for Account Name and crawling again fixed the issue.   Thanks to Puneet for the tip on this one.

System.NullReferenceException: Object reference not set to an instance of an object. at System.Xml.XmlNode.RemoveChild(XmlNode oldChild) at Microsoft.Office.Server.Search.WebControls.PeopleCoreResultsWebPart.DeleteElementAddToMyColleaguesURL(XmlNode result) at Microsoft.Office.Server.Search.WebControls.PeopleCoreResultsWebPart.CreateXmlDocument() at Microsoft.Office.Server.Search.WebControls.PeopleCoreResultsWebPart.SortBySocialDistance() at Microsoft.Office.Server.Search.WebControls.PeopleCoreResultsWebPart.GetXPathNavigator(String viewPath)

image

Create Scopes & Managed Props with code #DevAdmin

Yesterday I found some great articles on how to create SSP search scopes and SSP Managed Properties via code.   This isn’t for developers.   This is for administrators!   If you need to repeat something with high quality a console EXE in Visual Studio is a great way to script against SharePoint 2007 (no offense to PowerShell in 2010).

Bundling these up as Console EXE that take in paraneters like args[0] allows you to easily build CMD files that can run many commands (even across many farms).   Excel fill down is my favorite way of doing this … then you just copy/paste over to CMD!  

Open-mouthed

 

image

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲