Saturday, March 31, 2012

Batch File Commands - Network Self Test

Network Self test IT Services:
Run the script TestNetwork.CMD, you will see the following screen, which provide menu to test IT network services. perform a ping to a domain or application - this will help identify ... ping commands before the user contact your site admin





Menu 0: IP configuration: Provide overall network configuration detail on your PC.
  • For Company (Thai), “Ipv4 Address” should begin with 192.160.xxx.xxx (where x represoen 0-9)
Menu 1: Test network connection to the file server.
  • If you can ping to the file server, your O and P drive should be accessible. 
  • If you see some “Request timed out.”, there might be a problem on the cable or port connected to the PC.
  • If you see all “Request timed out.” but you got the IP address begin with 192.168 in “Menu 0”, the network route to the file server is unreachable.
  • Time should be less than 10 ms
Menu 2: Test network connection to the Email (Exchange) server.
  • If you can ping to the Email server, you should be able to send and receive email.
  • If you see all “Request timed out.” but you got the IP address begin with 192.168 in “Menu 0”, the network route to the email server is unreachable. 
  • Time should be less than 10 ms
Menu 3: Test Office Communicator (IM) Server in Singapore.
  • If you can ping to the server, you should be able to login and use Office Communicator (chat program).
  • If you see all “Request timed out.” but you got the IP address begin with 192.168 in “Menu 0”, the network route to the OC server is unreachable.
  • Time vary because the server is in Singapore, however more than 500ms consider high response time. 
Menu 4: Test network connection to the SAP (PC8) Server.
  • If you can ping to the PC8 server, you should be able to login and use SAP.
  • If you see all “Request timed out.” but you got the IP address begin with 192.168 in “Menu 0”, the network route to the SAP server is unreachable.
  • Time vary because the server is in Houston, however more than 1000ms consider high response time.
~~~~~~~~~~~~~~~~~~SAMPLE~~~~~~~~~~~~~~~~~~~~~~~
@echo off
:prompt
title Menu Slect to Auto Check IT Services                                                                by:BoYL@SeR 2011
color 1f
cls
echo.
echo    This is a private system operated for Company (Thailand) Company.
echo    Authorization from Chevron management is required to use this system.
echo    Use by unauthorized person is prohibited.
echo    WARNING: This computer system is accessed by authorized users outside
echo    of Chevron. All security and control procedures must be strictly followed.
echo ________________________________________________________________________________
echo                  Select Number to Auto Check the Internet Connection
echo ________________________________________________________________________________
echo                        0. IP configuration
echo                        1. Ping File Server (THFILESHARE)
echo                        2. Ping Mail Server (THMAILSERVER) 
echo                        3. Ping Office Communicator (SGCOMMUNICATION)
echo                        4. Ping SAP Server (PC8)
echo                        5. Exit
echo.
echo       Response Time Guideline:    Nomal             High
echo         1, 2 (local LAN)           1-10ms       more than 10ms
echo         3 (SG Ehub)              100-300ms      more than 300ms
echo         4 SAP                    300-500ms      more than 500ms
echo ________________________________________________________________________________
echo.
set /p answer=    Select 0, 1, 2, 3, 4 or 5 and press Enter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 DOWNLOAD BAT FILE HERE ┌∩┐(◕_◕)┌∩┐

Welcome!  If you are not yet a network member, please register.

1 comments:

Thank you for this post with so much informational material and these helpful articles.

Post a Comment