How to setup IIS App Pool Cpu rate limit using powershell

Question:

I am trying to set cpu rate limit i was able to perform this action in UI using the action link

https://theitbros.com/set-cpu-usage-limit-for-an-application-pool-iis-8/

but i want to set three values below using powershell

Iam already using powershell to setup startmode to always running.

I have tried something like below but does not work.

Answer:

I figured out the correct command that works for me is below.

Source:

How to setup IIS App Pool Cpu rate limit using powershell by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply