Delete Distributed Cache Instance
$instanceName= "SPDistributedCacheService Name=AppFabricCachingService"$serviceInstance= Get-SpServiceInstance | ? {(_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq "<server name>"}$serviceInstance.Delete()