how to remove service application from sharepoint



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 comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.