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

后端 未结 7 1191
故里飘歌
故里飘歌 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 10:05

    The issue is not just the path of the file.

    Suggestion [3,General]: The command appcmd was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type ".\appcmd". See "get-help about_Command_Precedence" for more details.

    So please run as follows:

    .\appcmd set config -section:system.applicationHost/sites /+"[name='Default Web Site'].bindings.[protocol='https',bindingInformation='*:443:']" /commit:apphost
    

提交回复
热议问题