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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s