Scenario/Problem: You want to view the current session state configuration for your SharePoint farm.
Solution: Use the Get-SPSessionStateService
cmdlet.
The Get-SPSessionStateService
cmdlet provides the current information regarding session state within your SharePoint farm. Execute the cmdlet with no parameters, as shown in Listing 18.4. If the Session State Service is enabled, the database information is displayed, as shown in Figure 18.1. If the Session State Service is not enabled, the database information is blank, as shown in Figure 18.2 (this is the default after installing a new farm).
Get-SPSessionStateService
3.145.63.136