How to solve: ‘appcmd’ is not recognized as the name of a cmdlet
To use the appcmd
command, we need to enable IIS Management Scripts and Tools option in IIS.
Here is step by step how to enable it:
1. Open Turn Windows features on or off.
2. Enable IIS Management Scripts and Tools under “Internet Information Services” => “Web Management Tools”.
3. We will see the appcmd.exe
in C:\Windows\System32\inetsrv folder then.
4. Add C:\Windows\System32\inetsrv to PATH
system environment variable.
We are done! Try to run appcmd
in your cmd again, please. It should work!
very helpfull Thanks !!
Great, thanks very helpful. resolved my issue