Distributed Cache (repairing it with PowerShell)
* Recently we had issues with our distributed cache system that was set up on are farm quite some time ago when I built it with SPAuto-Installer. This could have been from rolling out cumulative updates or what have you. There is very little documentation on the web for this. * In our case we had 4 servers (2 web front-ends and 2 application servers) all with the distributed cache enabled. Only one server was running the distributed cache. * The correct topology for distributed cache is for it to exist on the web front-ends. So we made some changes to the farm. Clean up all 4 Servers using the following commands: #Stopping the service on local host Stop-SPDistributedCacheServiceInstance -Graceful #Removing the service from SharePoint on local host. Remove-SPDistributedCacheServiceInstance #Cleanup left over pieces from SharePoint $instanceName = ”SPDistributedCacheService Name=AppFabricCa...