Start IIS Express using /path from command line with HTTPS?

Viewed 5966

Is it possible to start IIS Express from the command line using the /path argument and include an HTTPS binding?

3 Answers

Another one for the scripts section:

IisExpressAdminCmd setupSslUrl -url:https://localhost:44308 -UseSelfSigned

appcmd add site /name:"MySite" /bindings:https/*:44308:localhost /physicalPath:"C:\MySite"

iisexpress /site:MySite

Those commands are in the C:\Program Files (x86)\IIS Express\ directory.

Related