How to get a list of the entire ASP.NET workflow and its associated application pools?

I need to get a list of the entire ASP.NET workflow, its associated and related application pools and process ID.

Is there a way to do this pragmatically (C #) or a powershell script?

+4
source share
1 answer

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)

+3
source

Source: https://habr.com/ru/post/1345925/


All Articles