anchor.diff:  :: get_IPMI_SDR_info
   :: 
   :: Auther: luke.chen@aicipc.com.tw
  -:: Progream: get_IPMI_SDR_info every 3 sec
  +:: Progream: get_IPMI_SDR_info every 10 sec
   :: Lincese: CC0
   :: History: 2021-07-20T13:34:04 
   :: note: init
  +:: History: 2021-07-20T16:46:25 
  +:: note: Change default to get local IPMI SDR
  +:: History: 2021-07-20T17:29:25 
  +:: note: Add elist
   
   @ECHO OFF
   
  
positive.code:     echo. >> %logname%
  
      :: Get BMC SDR 
      :: echo ipmitool -I lanplus -H %ipaddr% -U admin -P admin sdr
      ipmitool -I lanplus -H %ipaddr% -U admin -P admin sdr
      ipmitool -I lanplus -H %ipaddr% -U admin -P admin sdr >> %logname%
   
      ::
      echo.
      echo. >> %logname%
  
      :: Sleep %sleeptime% sec (default: 3 sec)
      ping 127.0.0.1 -w 1000 -n %sleeptime% > nul
  
  goto loop
  
negative.code: :: del /Q log_*.txt
  
  :: Set parameter
  set ipaddr=localhost
  set remote=-I lanplus -H %ipaddr% -U admin -P admin
  set sleeptime=4
  set /a count=0
  
  :: Get user parameter 
  if not "%1" == "" (
      set ipaddr=%1
      set remote=-I lanplus -H %1 -U admin -P admin
  ) else (
      set remote=%1
  )
  if not "%2" == "" set sleeptime=%2
  
  :: Set log file name
  