IIS: how to undeploy/delete/remove a webapp from command line?

前端 未结 4 1681
暗喜
暗喜 2021-02-05 11:22

Suppose there\'s a webapp deployed on local IIS server. When I need to remove/undeploy it, I can go to IIS Manager, right-click on the app, and then select \"Delete application

4条回答
  •  旧巷少年郎
    2021-02-05 11:55

    This is what did it:

    "C:\Program Files\IIS\Microsoft Web Deploy\msdeploy" -verb:delete -dest:apphostconfig="Default Web Site/"
    

提交回复
热议问题