How to Stop Service Application using PowerShell with Identity

Service application stopping:



$serviceInstance = Get-SPServiceInstance | where {$_.ID -eq "076f00b8-1fc8-46b2-bd42-574d708b2763"}

$serviceInstance.Unprovision()



$serviceInstance.Provision()

Comments

Popular posts from this blog

Search Service Application Error in SP2013

Errors While Importing Site Collection in SharePoint 2013/2010

Deleting Multiple Sub-sites within Site using PowerShell