Notice: Due to size constraints and loading performance considerations, scripts referenced in blog posts are not attached directly. To request access, please complete the following form: Script Request Form Note: A Google account is required to access the form.
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

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