Suppose I have IIS running on 2 different computers, I want to know if the 2 IIS configurations are different. How can I compare the configuration settings on different IIS Web Servers?
Internet Information Services (IIS) 7 and later use an XML-based configuration system for storing IIS settings which replaces the metabase that was used in IIS 6.0 and earlier. This new configuration system was introduced with ASP.NET and is based on a hierarchical system of management system that uses *. config files.
Compare IIS configuration files located in C:\Windows\System32\inetsrv\config
directory.
OR
If you use WebDeploy tool:
msdeploy.exe -verb:sync -source:webServer,computername=YourSourceMachine -disableLink:ContentExtension -dest:webServer,computername=YourDestinationMachine -whatif > c:\sync.log
In c:\sync.log
file you will see what would take to synchronize IIS configuration from YourSourceMachine to YourDestinationMachine. Because -whatif
parameter is provided it will only symulate synchronization process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With