Created
December 4, 2013 15:11
-
-
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
This file contains 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
# 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