IT Toolbox
Menu
CMD · Network

Create a Windows network diagnostic report

Collects IP configuration, routes, DNS information, and several connectivity tests in a text report.

Low risk

Command

@echo off set RAPPORT=%USERPROFILE%\Desktop\diagnostic-reseau.txt echo === IPCONFIG === > "%RAPPORT%" ipconfig /all >> "%RAPPORT%" echo. >> "%RAPPORT%" echo === ROUTES === >> "%RAPPORT%" route print >> "%RAPPORT%" echo. >> "%RAPPORT%" echo === DNS === >> "%RAPPORT%" nslookup boiteaoutilsinformatique.fr >> "%RAPPORT%" 2>&1 echo. >> "%RAPPORT%" echo === TEST PASSERELLE INTERNET === >> "%RAPPORT%" ping -n 4 1.1.1.1 >> "%RAPPORT%" echo Rapport cree : %RAPPORT% pause

When to use it

Useful before escalating a network incident or when you need to gather the information required by a technician.

How it works

  • The report is created on the desktop.
  • Change the tested domain to match the affected service.

Precautions

  • The file may contain IP addresses, DNS suffixes, and internal host names; do not publish it publicly.

Rollback

Delete diagnostic-reseau.txt after use.

Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI