Stop and Start (Restart) IIS Application Pool from Command Prompt

Below is the command that you can use to stop and start IIS Application Pool from Command Prompt console.

To stop:

C:\Windows\System32\inetsrv\appcmd.exe stop apppool /apppool.name:"ASP.NET v4.0"

To start:

C:\Windows\System32\inetsrv\appcmd.exe start apppool /apppool.name:"ASP.NET v4.0"