Skip to content

Instantly share code, notes, and snippets.

@shurick81
Last active May 10, 2020 18:45
Show Gist options
  • Save shurick81/0ea427f0d6a9877819eea7036e687248 to your computer and use it in GitHub Desktop.
Save shurick81/0ea427f0d6a9877819eea7036e687248 to your computer and use it in GitHub Desktop.
Start-Transcript c:\Enable-IPRouter.log;
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters -Name IpEnableRouter -Value 1;
shutdown /r /t 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment