wokerprocessor threads

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of TomBaker TomBaker 2 years, 1 month ago.

  • Author
    Posts
  • #24567
    Profile photo of Sanjaya Luintel
    Sanjaya Luintel
    Participant

    How can I change the maximum worker processor threads in an application pool using powershell?

  • #24572
    Profile photo of TomBaker
    TomBaker
    Participant

    Do you mean Maximum Worker Processes, or max threads per CPU or which value exactly are you referring to?
    In general you can adjust Application pool settings by using the Get-Item or Get-ItemProperty cmdlets on the IIS:\AppPools location

    Import-Module WebAdministration
    (Get-ItemProperty IIS:\AppPools\DefaultAppPool).processModel.maxProcesses

You must be logged in to reply to this topic.