viernes, 9 de agosto de 2013
miércoles, 31 de julio de 2013
miércoles, 24 de julio de 2013
Start or stop a service (SharePoint 2013)
Get-SPServiceInstance | Where-Object {$_.TypeName -eq 'Microsoft SharePoint Foundation Web Application'}
Stop-SPServiceInstance -Identity 85017208-c7ef-4c8d-9a7e-07a9dfd63744
Manage the Distributed Cache service in SharePoint Server 2013
http://technet.microsoft.com/en-us/library/jj219613(v=office.15).aspx
CacheHostInfo is null
$cacheClusterName = "SPDistributedCacheCluster_" + $SPFarm.Id.ToString()
$cacheClusterManager = [Microsoft.SharePoint.DistributedCaching.Utilities.SPDistributedCacheClusterInfoManager]::Local
$cacheClusterInfo = $cacheClusterManager.GetSPDistributedCacheClusterInfo($cacheClusterName);
$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
$serviceInstance = Get-SPServiceInstance | ? {($_.Service.Tostring()) -eq $instanceName -and ($_.Server.Name) -eq $env:computername}
Write-Host $cacheClusterInfo -ForegroundColor DarkCyan
$serviceInstance.Delete()
Add-SPDistributedCacheServiceInstance
$cacheClusterInfo.CacheHostsInfoCollection
Suscribirse a:
Entradas (Atom)