How to start and stop application pool in IIS using powershell script

后端 未结 5 1062
小蘑菇
小蘑菇 2021-02-19 19:53

I want to start and stop application pool in IIS using powershell script. I had try to write the script but i didn\'t get this.

5条回答
  •  醉话见心
    2021-02-19 20:42

    You have to import the WebAdministration module using Import-Module and then you can use Start-WebAppPool and Stop-WebAppPool

提交回复
热议问题