本文介绍了如何删除唯一的扩展Web应用程序包括IIS使用电源shell的IIS网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何删除唯一的扩展Web应用程序包括来自IIS的IIS网站 使用power shell

how to delete the only extend web application include the IIS website from IIS  using power shell

推荐答案

你必须使用
删除-SPWebApplication
cmdlet并包含 -Zone (用于指定Web应用程序已扩展到您要删除的区域)和
-DeleteIISSite 参数。$
您将编写一个这样的PowerShell代码段

You have to use the Remove-SPWebApplication cmdlet and include the -Zone (to specify the zone the web application has been extended to that you want to remove) and the-DeleteIISSite parameters.
You'll write a PowerShell snippet like this

Get-SPWebApplication http://sitename | Remove-SPWebApplication -Zone "Internet" -DeleteIISSite

再见


这篇关于如何删除唯一的扩展Web应用程序包括IIS使用电源shell的IIS网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 01:45