Skip to content

Instantly share code, notes, and snippets.

@mikebranstein
Created February 14, 2016 19:52
Show Gist options
  • Save mikebranstein/fde605b919cf09bea6a0 to your computer and use it in GitHub Desktop.
Save mikebranstein/fde605b919cf09bea6a0 to your computer and use it in GitHub Desktop.
Netsh commands added to my hangfire auto deployment powershell scripts
Param
(
[string] $userName
)
netsh http add urlacl url=http://127.0.0.1:9095/ user=$userName
netsh http add urlacl url=http://localhost:9095/ user=$userName
netsh http add urlacl url=http://$env:computername`:9095/ user=$userName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment