Skip to content

Instantly share code, notes, and snippets.

@daveshah
Created December 4, 2013 15:11
Show Gist options
  • Save daveshah/7789090 to your computer and use it in GitHub Desktop.
Save daveshah/7789090 to your computer and use it in GitHub Desktop.
Workaround for the fact that some unknown code on our dev machines is killing W3SVC
# May require
# Set-ExecutionPolicy Remote
# if Get-ExecutionPolicy returns "Restricted"
Set-Service W3SVC -StartupType Automatic
Start-Service W3SVC
iisreset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment