Summary
Restarting IIS will also restart applications associated with it. This is because the Windows Process Activation Service (WAS) shuts down all worker processes that are running and serve the application pool when it is stopped.
1
2
The IIS Manager can be used to configure application pools, and the Appcmd.exe command line can be used to start, stop, and recycle different application pools.
2
WMI scripts can also be used to start and stop applications
2
, and the Appcmd.exe command can be used to query objects within the web server and return the output in either the XML or text.
2
According to