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

Complex Query in QueryExpression in Microsoft CRM 2011

Exception caught instantiating TERADATA report server extension SQL Reporting Services

Microsoft Power Apps Portal integration with Dynamics 365 CE On-Premise - Step By Step Guide