The term 'appcmd' is not recognized as the name of a cmdlet

后端 未结 7 1192
故里飘歌
故里飘歌 2020-12-17 09:09

I\'m getting the following error message:

The term \'appcmd\' is not recognized as the name of a cmdlet, function, script file, or operable program. C

7条回答
  •  眼角桃花
    2020-12-17 09:43

    I don't like to manually play with PATH or system env. The portable solution is to use the full path and name of the command:

    For example, to recycle an app pool:

    %systemroot%\system32\inetsrv\appcmd.exe recycle apppool /apppool.name:"my website app pool name"
    

提交回复
热议问题