7
我需要一个PowerShell命令,做添加IIS中的网站相当,但需要在“应用程序池”的绑定在IIS网站的应用程序池:设置使用PowerShell
到目前为止我可以添加一个网站这样做:
New-Item iis:\Sites\swmarket -bindings @{protocol="http";bindingInformation="80:swmarket"} -physicalPath c:\inetpub\wwwroot
但我不知道如何设置新的网站中的“应用程序池”。任何方式看到所有的绑定?
,试试这个:HTTP://的TechNet。 microsoft.com/en-us/library/ee807831.aspx – D3vtr0n