Monday 13 February 2017

Exporting App Pools and Websites configuration between multiple IIS instances

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