i want to start a service "Microsoft SharePoint Foundation Sandboxed Code Service " by using the following power
$ServiceName = "Microsoft SharePoint Foundation Sandboxed Code Service"
Get-SPServiceInstance -server $env:COMPUTERNAME | where-object {$_.TypeName -eq $ServiceName} | Start-SPServiceInstance -confirm:$false > $null
The status is stuck in Starting for a hour which it seems not working. I have tried iisrest, restart window.
Is there any way to force stop it?