-
Notifications
You must be signed in to change notification settings - Fork 0
/
Get-CacheConfig.ps1
71 lines (61 loc) · 2.47 KB
/
Get-CacheConfig.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Add-PSSnapin Microsoft.Sharepoint.Powershell
#DistributedLogonTokenCache
$DLTC = Get-SPDistributedCacheClientSetting -ContainerType DistributedLogonTokenCache
Write-Host 'DLTC'
Write-Host $DLTC.MaxConnectionsToServer
Write-Host $DLTC.requestTimeout
Write-Host $DLTC.channelOpenTimeOut
#DistributedViewStateCache
$DVSC = Get-SPDistributedCacheClientSetting -ContainerType DistributedViewStateCache
Write-Host 'DVSC'
Write-Host $DVSC.MaxConnectionsToServer
Write-Host $DVSC.requestTimeout
Write-Host $DVSC.channelOpenTimeOut
#DistributedAccessCache
$DAC = Get-SPDistributedCacheClientSetting -ContainerType DistributedAccessCache
Write-Host 'DAC'
Write-Host $DAC.MaxConnectionsToServer
Write-Host $DAC.requestTimeout
Write-Host $DAC.channelOpenTimeOut
#DistributedActivityFeedCache
$DAF = Get-SPDistributedCacheClientSetting -ContainerType DistributedActivityFeedCache
Write-Host 'DAF'
Write-Host $DAF.MaxConnectionsToServer
Write-Host $DAF.requestTimeout
Write-Host $DAF.channelOpenTimeOut
#DistributedActivityFeedLMTCache
$DAFC = Get-SPDistributedCacheClientSetting -ContainerType DistributedActivityFeedLMTCache
Write-Host 'DAFC'
Write-Host $DAFC.MaxConnectionsToServer
Write-Host $DAFC.requestTimeout
Write-Host $DAFC.channelOpenTimeOut
#DistributedBouncerCache
$DBC = Get-SPDistributedCacheClientSetting -ContainerType DistributedBouncerCache
Write-Host 'DBC'
Write-Host $DBC.MaxConnectionsToServer
Write-Host $DBC.requestTimeout
Write-Host $DBC.channelOpenTimeOut
#DistributedDefaultCache
$DDC = Get-SPDistributedCacheClientSetting -ContainerType DistributedDefaultCache
Write-Host 'DDC'
Write-Host $DDC.MaxConnectionsToServer
Write-Host $DDC.requestTimeout
Write-Host $DDC.channelOpenTimeOut
#DistributedSearchCache
$DSC = Get-SPDistributedCacheClientSetting -ContainerType DistributedSearchCache
Write-Host 'DSC'
Write-Host $DSC.MaxConnectionsToServer
Write-Host $DSC.requestTimeout
Write-Host $DSC.channelOpenTimeOut
#DistributedSecurityTrimmingCache
$DTC = Get-SPDistributedCacheClientSetting -ContainerType DistributedSecurityTrimmingCache
Write-Host 'DTC'
Write-Host $DTC.MaxConnectionsToServer
Write-Host $DTC.requestTimeout
Write-Host $DTC.channelOpenTimeOut
#DistributedServerToAppServerAccessTokenCache
$DSTAC = Get-SPDistributedCacheClientSetting -ContainerType DistributedServerToAppServerAccessTokenCache
Write-Host 'DSTAC'
Write-Host $DSTAC.MaxConnectionsToServer
Write-Host $DSTAC.requestTimeout
Write-Host $DSTAC.channelOpenTimeOut