First published on TECHNET on Nov 13, 2017
Hello All
Recently got into a discussion around how to figure out which WFE a user is connected to when you have 'Sticky sessions' disabled as is recommended in SharePoint 2016. Here are some choices that I came up with.
$d = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings
$d.DisplayLevel = 'On'
$d.TraceEnabled = $true
$d.Update()
Once done with your troubleshooting it is recommended that you turn it off by running the following code on your SharePoint Server.
$d = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings
$d.DisplayLevel = 'Off'
$d.Update()
As you can see from this screenshot in my test environment the tool can show you which WFE your connected for each connection.
Pax
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.