Как я узнаю количество W3SVC данного веб-сайта IIS7.5?

Как насчет Cisco 1841? Это имеет два созданных в портах FastEthernet, и это поддерживает WICs, таким образом, можно практиковать конфигурирование вообще, если Вы хотите купить карты.

Это продается в розницу за 1 400$, но RouterMall имеет refurb в продаже за 525$, и они могли бы сбить с этого дополнительные 25$, если Вы спрашиваете приятно.

42
задан 15 September 2011 в 20:47
2 ответа

The numbers on the folders correspond to the Site ID of each specific site in IIS. If you go into Internet Manager you can see the Site ID's by clicking on the Sites node in the navigation pane.

So, if a site has ID 1 its log folder name is W3SVC1, ID2 = W3SVC2, etc.

You could also review %WinDir%\System32\Inetsrv\Config\applicationHost.Config, which contains information about all of the sites. It is XML format. You'll want to look for nodes in the XML which contain an id attribute. This is the aforementioned Site ID of that specific site and will align with the number in the log folder.

<site name="Default Web Site" id="1">
47
ответ дан 28 November 2019 в 19:42

Я использовал Powershell

Import-Module WebAdministration
$iisAppName = "MySite"
$site = Get-ItemProperty IIS:\Sites\$iisAppName
$site.id
1
ответ дан 28 November 2019 в 19:42

Теги

Похожие вопросы