I am trying to export and then import the entire IIS configuration of a site, here is my syntax.
iiscnfg /export /f c:\temp\iisconfig.xml /sp / /children
^^ this works fine.
i then copy the iisconfig.xml to the same path on the second server and attempt an import
iiscnfg /import /f c:\temp\iisconfig.xml /sp / /children /inherited /dp /
connecting to server ...Done
Error &H1F4: Variable is undefined
no matter what different switches i try i keep getting this Error &H1F4: Variable is undefined error. i contacted microsoft and the engineer completley threw me off and told me to use IISMT instead but IISMT keeps on making duplicate copies of the sites in IIS every 5 minutes when the task runs.
these are both windows 2003 enterprise r2 sp1 servers