Service Token Failure In SharePoint 2013 Farm

Service Token Failure


--





cls
 
 
# This command loads the Microsoft.SharePoint.PowerShell DLL.

# This DLL is required if you are using Windows PowerShell.
 
 
[string]$Snapin="Microsoft.SharePoint.PowerShell"

if ((Get-PSSnapin $Snapin -ErrorAction SilentlyContinue) -eq $null)



{
 
Write-Host "Loading Snapin: $Snapin";

Add-PSSnapin $Snapin



}
 
else
 
 
{
 
Write-Host "Snapin already loaded: $Snapin";



}
 
$h = Get-SPServiceHostconfig




 
$h.Provision()




 
$services = Get-SPServiceApplication




 
foreach ($service in $services) { $service.provision();

write-host $service.name}



Comments

Popular posts from this blog

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008

Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

None of the selected features can be installed or upgraded. Setup cannot proceed since no