Disclaimer: I do not accept responsibility for any issues arising from scripts being run without adequate understanding. It is the user's responsibility to review and assess any code before execution. More information

Remotely start IIS AppPools using powershell

To remotely restart application pools on IIS use this command:

Invoke-Command -ComputerName "computer" -ScriptBlock { Start-WebAppPool -Name "MyAppPool" }

If you wish to restart it locally you can use this:

Start-WebAppPool -Name "MyAppPool"
Previous Post Next Post

نموذج الاتصال