Last active
November 19, 2015 13:16
-
-
Save abenedykt/a27daa9cd148d96bfdc4 to your computer and use it in GitHub Desktop.
resetin remote iis :)
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
REM | |
REM if this does not work with a server, rcp server might be blocked with the firewal | |
REM so allow it on a firewall | |
REM | |
REM netsh advfirewall firewall add rule name="Remote IIS inetinfo" dir=in action=allow description="Remote IIS Service Managment" program="%systemroot%\System32\inetsrv\inetinfo.exe" enable=yes | |
REM | |
REM netsh advfirewall firewall add rule name="COM+ Remote Administration (All Programs)" dir=in action=allow description="" program="%windir%\system32\dllhost.exe" enable=yes localport=RPC protocol=tcp | |
iisreset zos-srv2 | |
dnu publish src\src\Emp.WebApp\ --out \\zos-srv2\emp_publish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment