miércoles, 24 de julio de 2013

Stopping SharePoint 2010 Service Applications Using PowerShell


http://mohamedelkassas.wordpress.com/2012/10/30/stopping-sharepoint-2010-service-applications-using-powershell/

How to: Setting up NLB in SharePoint 2010 farm



http://aarohblah.blogspot.com/2013/01/how-to-setting-up-nlb-in-sharepoint.html

SharePoint Publishing Features Functionality



http://www.sharepointchick.com/archive/2011/06/23/sharepoint-publishing-features-functionality.aspx

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


$SPFarm = Get-SPFarm
$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