-1

I am unable to remove the app, it is corrupted. Can any give example using PowerShell how to uninstall the app?

2 Answers 2

0

You can remove app using following powershell command

$instances = Get-SPAppInstance -Web <URL>

$instance = $instances | where {$_.Title -eq '<app_title>'}

Uninstall-SPAppInstance -Identity $instance

replace <URL> with site collection url and <app_title> with title of the app you want to remove

2
  • I already tried like this i am getting error for -Web,unable to identify the key word
    – phani
    Oct 28, 2014 at 7:45
  • Which error? Which app? Have you checked the logs? You really need to specify more information.
    – Boland
    Oct 28, 2014 at 7:50
0

If the PowerShell doesn't work check the following link

http://sujeewa.com/2015/06/remove-corrupted-app-from-the-farm/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.