How to Disconnect or Reconnect to the Internet

Hi Everybody! If someone who is your friend or whatever, you want them to be disconnected from either their internet or from your LAN you can send him two lines of code that can be run in cmd. You can send him the commands or the batch file saved with .bat extension

these commands make him disconnect from the internet

and if you want him to connect him again you can use