Dear all,
Our Sharepoint 2010 system encountered some issue, after consult Microsoft expert, he recommend we should monitor Security Token Service and Application Discovery and Load Balancer. We wrote some Powershell script to check their status. But we are not sure how to stop the service in order to test the script.
The check status script is like:
Get-SPServiceApplication | Where {$_.TypeName -match "Security Token Service" -and $_.Status -eq "Online"} | ft Status -auto
But we do not know how to stop it. I am not really SP expert my concept maybe a bit wrong. These two are actually not services but service application?









