How to deleteservice application
————————————
#To retrievethe service application that you want to delete, type the following command:
$spapp =Get-SPServiceApplication -Name “<Service application displayname>”
#delete theselected service application
Remove-SPServiceApplication$spapp
#
To delete theselected service application and also delete the service application database
Remove-SPServiceApplication$spapp –RemoveData
Leave a Reply