Enable NetBIOS for User Profile Service Application
$ServiceApps = Get-SPServiceApplication$UserProfileServiceApp = ""
foreach ($sa in $ServiceApps)
{
if ($sa.DisplayName -eq "User Profile Service Application")
{$UserProfileServiceApp = $sa}
}
$UserProfileServiceApp.NetBIOSDomainNamesEnabled = 1
$UserProfileServiceApp.Update()
Gracefully remove distributed cache instance
Stop-SPDistributedCacheServiceInstance -Graceful
Remove-SPDistributedCacheServiceInstance
-------------------------------------------------------------------------------------------------------------------------------------------------------------------Update Feed Cache
$upa = Get-SPServiceApplication | where {$_.TypeName -Like "User Profile Service Application"}
$upa.FeedCacheTTLHours = 96
$upa.Update()
No comments:
Post a Comment