Define Workflow in IIS 6.0
- Start> Run> Cmd
- Go to Windows> System32
- Run
cscript iisapp.vbs - You will receive a list of Running Worker ProcessID and the name of the application pool.
From IIS 7.0, you need to run the IIS command tool (appcmd).
- Start> Run> Cmd
- Go to Windows> System32> Inetsrv
- Run
appcmd list wp
If you want to save this list to a text file, just add β myfile.txt after the command.
Now you can see the iisapp.vbs source code.
It uses WMI to get all the information. It looks simple to rewrite this in C #.
In any case, the full article where I found this information can be seen here: Workflow Identification (w3wp.exe)
source share