Tom*_*mek 16
比较位于C:\Windows\System32\inetsrv\config目录中的IIS配置文件.
或者
如果您使用WebDeploy工具:
msdeploy.exe -verb:sync -source:webServer,computername=YourSourceMachine -disableLink:ContentExtension -dest:webServer,computername=YourDestinationMachine -whatif > c:\sync.log
Run Code Online (Sandbox Code Playgroud)
在c:\sync.log文件中,您将看到将YourSourceMachine中的IIS配置与YourDestinationMachine同步所需的操作.因为-whatif提供了参数,所以它只会模拟同步过程.
| 归档时间: |
|
| 查看次数: |
14004 次 |
| 最近记录: |