Start –> All Programs –> SharePoint 2010 -> SharePoint 2010 Management Shell
#(Enter your Service Name)
$ServiceName = “SQL Server Analysis Services”
Get-SPServiceInstance -server $env:COMPUTERNAME | where-object {$_.TypeName -eq $ServiceName} | Stop-SPServiceInstance -confirm:$false
Get-SPServiceInstance -server $env:COMPUTERNAME | where-object {$_.TypeName -eq $ServiceName} | Start-SPServiceInstance -confirm:$false
#If you want to start Central Admin service, use the following command:
Get-SPServiceInstance | Where-Object {$_.TypeName –eq ‘Central Administration’} | Start-SPServiceInstance
No comments:
Post a Comment