I have a large number of sites running on IIS 7.5 in Windows Server 2008 R2 Standard, each of which has many bindings. I need to extract the bindings to a text file.
One way is to manually iterate over each binding for each site in IIS, but this is a painstaking task. It would be easier to access them through a text file. I was fortunate that combinations of nodes and links were saved in this file: C:\Windows\System32\inetsrv\Config\applicationHost.config , but I see only a subset of sites configured on the server, and not all of them have all the bindings. So my question is: where does IIS store all the site bindings?
I hope this will be in the form of an accessible text file (e.g. a .config file). If it is in the form of an accessible text file, I now only need read access, but it would be nice to know whether it is possible to write this file and not edit the bindings through IIS, and if so, it needs administrator access.
source share