View Complete Thread
  • Re: How do I get workproccess object for application pool?

    Sep 16, 2013 07:41 AM|artisticcheese|LINK

    Angie xu - MSFT

    Hi,

    $pools = gci IIS:\apppools

    $pools[2].WorkerProcesses[0].ProcessID

    It's ok for the codes above.

     I think you could provide more information and explanation, then we can give more precise troubleshooting for your problem,

    Regards

    Code abover works for you and returns result? Can you post example here? 

    Appears to be WorkerProcesses is not actually a collection and instead you have to access property called Collection to retrive individual members