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
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