How to change the Distributed Cache Service Managed Account
Date: 29/02/2016
Categories: PowerShell, SharePoint
##Open SharePoint 2013 Management Shell $NewAccount = 'DOMAIN\AccountName' $Farm = Get-SPFarm $CacheService = $Farm.Services | where {$_.Name -eq “AppFabricCachingService”} $Account = Get-SPManagedAccount -Identity $NewAccount $CacheService.ProcessIdentity.CurrentIdentityType = "SpecificUser" $CacheService.ProcessIdentity.ManagedAccount = $Account $CacheService.ProcessIdentity.Update() ##For the deploy.. Execute the command below $cacheService.ProcessIdentity.Deploy()
Leave a Reply