https://github.com/brandonleegit/ChangeGateway
Script that looks for a specific default gateway value and changes the gateway
https://github.com/brandonleegit/ChangeGateway
Last synced: 4 months ago
JSON representation
Script that looks for a specific default gateway value and changes the gateway
- Host: GitHub
- URL: https://github.com/brandonleegit/ChangeGateway
- Owner: brandonleegit
- License: gpl-3.0
- Created: 2016-09-12T18:46:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-12T19:30:54.000Z (over 8 years ago)
- Last Synced: 2024-08-14T07:05:52.189Z (8 months ago)
- Language: PowerShell
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - brandonleegit/ChangeGateway - Script that looks for a specific default gateway value and changes the gateway (PowerShell)
README
# ChangeGateway
Script that looks for a specific default gateway value and changes the gatewayThe script checks the value of the current default gateway assigned to a certain IP address in the variables section, finds the InterfaceIndex and then removes the current route and applies the new route based on what you specify.