Using the following 2 commands you can export the metabase from one webserver & import it onto another, making migration between boxes very easy!
To Export:
C:\WINDOWS\system32>cscript iiscnfg.vbs /export /f plzwork.xml /d test /inherited /children /sp /LM/W3SVC
To Import:
C:\WINDOWS\system32>cscript iiscnfg.vbs /import /f plzwork.xml /dp LM/W3SVC /children /inherited /merge /d test /sp /LM/W3SVC
Tags: IIS, metabase, migration, Windows & All thing M$
Thanks
Thanks, it’s very helpful.
I’m was looking for methods of making inventory of my web-server and could not figure out the syntax.