Friday, January 20, 2012

Commands helpful in accessing IIS 7.0

AppCmd.exe is a command which can be very helpful in accessing various types of information from IIS 7.0.

This exe resides in SYSTEM32\INETSRV directory on a local machine.

Some commands are:


appcmd list site "Default Web Site" /xml | appcmd list app /in /xml | appcmd list apppool /in /xml | appcmd recycle apppool /in
appcmd list app /site.name:"Default Web Site" /xml | appcmd list apppool /in /xml | appcmd recycle apppool /in


I will describe the purpose of these commands soon...

No comments:

Post a Comment