#ULS diagnostic configuration values of the farm
Get-SPDiagnosticConfig
#View log location
Get-SPDiagnosticConfig|select LogLocation
#View the Number of Days to keep log
Get-SPDiagnosticConfig|select DaysToKeepLogs
#View diagnostics performance counter
Get-SPDiagnosticsPerformanceCounter
#returns all the diagnostics providers in the farm
Get-SPDiagnosticsProvider
#returns the Distributed Cache client settings for DistributedLogonTokenCache.
Get-SPDistributedCacheClientSetting -ContainerType DistributedLogonTokenCache
No comments:
Post a Comment