Open CMD
Go to this path: C:\Windows\System32\inetsrv
To get AppPool settings
Type: appcmd list apppool /config /xml > c:\apppools.xml
To get WebSite settings
Type: appcmd list site /config /xml > c:\websites.xml
Go to this path: C:\Windows\System32\inetsrv
To get AppPool settings
Type: appcmd list apppool /config /xml > c:\apppools.xml
To get WebSite settings
Type: appcmd list site /config /xml > c:\websites.xml