Wednesday, March 25, 2015

how to change account for AppFabricCachingService

quote from http://blog.blksthl.com/2012/10/26/how-to-change-the-distributed-cache-service-managed-account/


$farm = Get-SPFarm
$cacheService = $farm.Services | where {$_.Name -eq “AppFabricCachingService”}
$accnt = Get-SPManagedAccount -Identity <domain\user>
$cacheService.ProcessIdentity.CurrentIdentityType = “SpecificUser”
$cacheService.ProcessIdentity.ManagedAccount = $accnt
$cacheService.ProcessIdentity.Update()
$cacheService.ProcessIdentity.Deploy()

No comments:

Post a Comment