wokerprocessor threads

Welcome Forums General PowerShell Q&A wokerprocessor threads

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

 
Participant
3 years, 7 months ago.

  • Author
    Posts
  • #24567

    Participant
    Points: 0
    Rank: Member

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

  • #24572

    Participant
    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.