图形界面方式
命令行方式
如果找不到 appcmd
Appcmd.exeexists at the location%systemroot%\system32\inetsrv\. You either need to udpate your PATH variable to add the path%systemroot%\system32\inetsrv\
SET PATH=%PATH%;%systemroot%\system32\inetsrv\
或者
Set-Location %systemroot%\system32\inetsrv\
参考
The term 'appcmd' is not recognized as the name of a cmdlet
Find PID for IIS Application Pool’s Worker Process