https://www.business.com/articles/powershell-manage-iis-application-pools/

 

Manage IIS Application Pools With PowerShell - business.com

Where do you turn when you're managing an IIS web server farm with potentially dozens or hundreds of app pools? PowerShell, of course.

www.business.com

Invoke-Command -ComputerName "SYS2018DV051" -ScriptBlock {Stop-WebAppPool -Name "DevService"

Invoke-Command -ComputerName "SYS2018DV051" -ScriptBlock {Start-WebAppPool -Name "DevService"

Posted by Sungyoup Han matrim

댓글을 달아 주세요