wokerprocessor threads

Welcome Forums General PowerShell Q&A wokerprocessor threads

This topic contains 1 reply, has 2 voices, and was last updated by

4 years, 5 months ago.

  • Author
  • #24567

    Topics: 6
    Replies: 1
    Points: 0
    Rank: Member

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

  • #24572

    Topics: 0
    Replies: 17
    Points: 0
    Rank: Member

    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

The topic ‘wokerprocessor threads’ is closed to new replies.