Quick one today.
Wanted to change a servers default gateway in a CMD file. Easiest way to do it is to use NETSH. Its a very powerful tool (All Windows versions after XP) that has many uses from configuring the Windows Firewall to resetting branchcache.
In this instance I wanted to do a simple default Gateway change , so here’s the barebones of it: