I have recently setup a VM which I wanted to quickly put online/offline or switch between my router Gateway and server Gateway Address. I got tired of clicking through multiple windows and ok buttons and decided to write 2 powershell scripts to do this with one click.The first script sets…