How to compare if the configuration is different for IIS?

后端 未结 1 1928
你的背包
你的背包 2021-02-07 05:04

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

相关标签:
1条回答
  • 2021-02-07 06:05

    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.

    0 讨论(0)
提交回复
热议问题