Created
July 10, 2013 02:54
-
-
Save erichexter/5963124 to your computer and use it in GitHub Desktop.
Solution script to start up iis on a webproject
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#start iis with the console window up, so we can see trace messages from the website while were doing front end development. | |
function global:start-iis(){ | |
param($port="14062",$wwwdir="website") | |
$websitepath=$dte.solution.FileName | split-path | join-path -childpath $wwwdir | |
&start 'C:\Program Files (x86)\IIS Express\iisexpress.exe' "/trace:none /path:$websitepath /port:$port" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment