본문 바로가기
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
배치파일
2017.01.11 09:53

systeminfo_to_info_COMPUTERNAME

조회 수 396

c:
cd\
cls


for /f "tokens=1-2 delims=:" %%a in ('ipconfig^|find "IPv4"') do set ip=%%b
set ip=%ip:~1%

for /F "tokens=2 delims==" %%s in ('wmic bios get serialnumber /value') do set sn=%%s

echo IP address : %ip%

echo Computer Serical Number : %sn%

set file=\\192.168.4.157\samba\OA_Administrator\_System_info\%ip%_%COMPUTERNAME%.txt

set file2=C:\%ip%_%COMPUTERNAME%.txt

set file3=\\192.168.4.157\samba\OA_Administrator\_System_info\%ip%_%COMPUTERNAME%_cpu.txt

set file4=C:\%ip%_%COMPUTERNAME%_cpu.txt

timeout 5

 

wmic bios get serialnumber > %file%

wmic computersystem get "Model","Manufacturer" >> %file%

wmic computersystem get "Name", "UserName" >> %file%

wmic cpu get name >> %file%

wmic PATH Win32_PhysicalMemory  get capacity >> %file%

wmic os get name >> %file%

wmic os get installdate >> %file%

wmic nicconfig get ipaddress,caption >> %file%

 

wmic bios get serialnumber > %file2%

wmic computersystem get "Model","Manufacturer" >> %file2%

wmic computersystem get "Name", "UserName" >> %file2%

wmic cpu get name >> %file2%

wmic PATH Win32_PhysicalMemory  get capacity >> %file2%

wmic os get name >> %file2%

wmic os get installdate >> %file2%

wmic nicconfig get ipaddress,caption >> %file2%

 

wmic product get name,vendor,installdate >> %file%

taskkill /f /im msiexec.exe /t

 

C:\Windows\Temp\cpuz\cpuz.exe -txt=%file3%

C:\Windows\Temp\cpuz\cpuz.exe -txt=%file4%

timeout 10


cls

exit


  1. CASZONE X-TOOLS Add-On v1.6.3

  2. CASZONE X-TOOLS v4.8.2

  3. 설치현장용 : 네트워크 정보 추출

  4. 설치현장용 : 기존PC 인증서 NPKI GPKI 백업, 즐겨찾기 백업

  5. 파티션 볼륨명 변경 배치파일 (자동 D 드라이버 변경)

  6. No Image 11Jan
    by 관리자
    2017/01/11 in 배치파일
    Views 396 

    systeminfo_to_info_COMPUTERNAME

  7. systeminfo_to_tel

  8. systeminfo_to_vbs

  9. systeminfo_to_winup

  10. systeminfo_to_sw

  11. systeminfo_to_info

  12. systeminfo_to_services

  13. systeminfo_to_power

  14. systeminfo_to_pc

  15. systeminfo_to_samba

  16. 힣!mstsc_history_delete

  17. CompName

  18. pc_setting_v1

  19. mpc_start_v2

  20. mega_start_v1611-25

  21. 시디키 자동 변경

  22. 시스프렙_ Sysorep 횟수 초기화

Board Pagination Prev 1 2 3 Next
/ 3