How do I start IIS Express?

前端 未结 7 660
傲寒
傲寒 2020-12-25 14:04

I\'ve used the Web PI to install IIS Express. In the tray, there is not the IIS Express icon. How do I start IIS Express without using the command line? I want that IIS runs

7条回答
  •  天命终不由人
    2020-12-25 14:20

    In Windows 7 you can use the Windows PowerShell to hide the command window, for example i use:

    start-process "c:\program files\iis express\iisexpress.exe" -workingdirectory "c:\program files\iis express" -windowstyle Hidden
    

    PowerShell script execution is set to Restricted on most new systems by default so you might need to change that to RemoteSigned or something first.

提交回复
热议问题