Posts

Showing posts with the label export IIS configuration

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,