export configuration of Internet Information Server

Hello,

You can use following commands for export configuration, just open command prompt and type;




%windir%\system32\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml
in order to export all Application pools under IIS to the apppools.xml in C drive


%windir%\system32\inetsrv\appcmd list site /config /xml > c:\sites.xml
in order to export all Application sites under IIS to the sites.xml in C drive


%windir%\system32\inetsrv\appcmd list config -section:system.webServer/rewrite/globalRules  /xml > c:\rewrite.xml
in order to export all global rules of IIS to the rewrite.xml in C drive.


good luck,

Comments

Popular posts from this blog

Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified at Configuration class initiation in CrmServiceHelper.cv

Exception caught instantiating TERADATA report server extension SQL Reporting Services

you face "ISV code aborted the operation" when you change status of the any record in Dynamics CRM 2013