Para crear el script:
Abre el bloc de notas de Windows
Copia el código al Bloc de notas
En Menú selecciona: "Guardar como."
En Tipo escoge: "Todos los archivos"
Escribe en Nombre el nombre que quieras asignarle seguido de la extensión de archivo .bat.
Asegúrate que el archivo creado no termine en .txt y que tome el icono de un engranaje.
Códigos:
Mostrar la configuración actual de TCP/IP - Show the current configuration of TCP / IP
@echo off
netsh interface ip show config
Conocer dirección IP asignada al equipo - IP address assigned to the computer
@echo off
ipconfig|FINDSTR "Dirección IPv4"
Borrar los archivos temporales de IE - Delete temporary files in Internet Explorer:
@echo off
START RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Iniciar firewall de Windows - Start Windows Firewall
@echo off
start firewall.cpl
Iniciar firewall con seguridad avanzada - Start Firewall with Advanced Security
@echo off
start wf.msc
Restaurar la configuracion predeterminada del Firewall - Restore default settings of the Firewall
@echo off
netsh firewall reset
Muestra los puertos abiertos habilitados - Shows open ports enabled
@echo off
netsh firewall show portopening
Habilitar firewall - Enable Firewall
@echo off
netsh firewall set opmode Mode= enable
Deshabilitar firewall - Disable Firewall
@echo off
netsh firewall set opmode Mode = disable
Abre el bloc de notas de Windows
Copia el código al Bloc de notas
En Menú selecciona: "Guardar como."
En Tipo escoge: "Todos los archivos"
Escribe en Nombre el nombre que quieras asignarle seguido de la extensión de archivo .bat.
Asegúrate que el archivo creado no termine en .txt y que tome el icono de un engranaje.
Códigos:
Mostrar la configuración actual de TCP/IP - Show the current configuration of TCP / IP
@echo off
netsh interface ip show config
Conocer dirección IP asignada al equipo - IP address assigned to the computer
@echo off
ipconfig|FINDSTR "Dirección IPv4"
Borrar los archivos temporales de IE - Delete temporary files in Internet Explorer:
@echo off
START RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Iniciar firewall de Windows - Start Windows Firewall
@echo off
start firewall.cpl
Iniciar firewall con seguridad avanzada - Start Firewall with Advanced Security
@echo off
start wf.msc
Restaurar la configuracion predeterminada del Firewall - Restore default settings of the Firewall
@echo off
netsh firewall reset
Muestra los puertos abiertos habilitados - Shows open ports enabled
@echo off
netsh firewall show portopening
Habilitar firewall - Enable Firewall
@echo off
netsh firewall set opmode Mode= enable
Deshabilitar firewall - Disable Firewall
@echo off
netsh firewall set opmode Mode = disable