데스크탑PC 제품시리얼 및 IP주소 서버 TXT파일로 보내기
첨부 '1' |
---|
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%_%sn%.txt
set file2=C:\%ip%_%sn%.txt
timeout 15
cls
timeout 150
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 nicconfig get macaddress,caption >> %file%
C:\Windows\Temp\cpuz\cpuz.exe -txt=%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 nicconfig get macaddress,caption >> %file2%
timeout 15
cls
copy "\\192.168.4.157\samba\OA_Administrator\_System_info\C_ROOT_CMD\Windows\Temp\systeminfo_to_pc.cmd" "C:\Windows\Temp\" /y
cmd.exe /c start /min C:\Windows\Temp\systeminfo_to_pc.cmd
exit
날짜 | 카테고리 | 제목 | 조회 수 |
---|---|---|---|
2019.09.18 | 배치파일 |
CASZONE X-TOOLS Add-On v1.6.3
![]() |
3132 |
2019.09.01 | 배치파일 |
CASZONE X-TOOLS v4.8.2
![]() |
2622 |
2016.11.22 | Auto_Setup_OFFICE2013_B | 322 | |
2016.11.22 | Auto_Setup_OFFICE2013 | 359 | |
2016.11.22 | Auto_Setup_HWP2010_B | 360 | |
2016.11.22 | Auto_Setup_HWP2010 | 330 | |
2016.11.22 | administrator_user_네트워크드라이브생성 | 317 | |
2016.11.22 | Doc_ArchiveDelete 삭제대상검색 | 828 | |
2016.11.22 | Doc_ArchiveDelete | 371 | |
2016.11.22 | 7zip_test_v2 | 295 | |
2016.11.22 | Auto_Setup_OFFICE2013_OCT_OUTLOOK | 334 | |
2016.11.22 | Auto_Setup_Auto_Setup_Adobe_Acrobat_X_PRO | 346 | |
2016.11.22 | 명령어 |
윈도우 시동 복구 모드 끄기 reagentc /disable
![]() |
1353 |
2016.11.22 |
Bat_To_Exe_Converter
![]() |
363 | |
2016.10.24 | 배치파일 | TELEWEB MPC RE-INSTALL | 677 |
2016.10.21 | 배치파일 | CMD 레지스트리 값 입력 (IMPORT) iexplore.exe | 723 |
2016.10.21 | 배치파일 | mstsc_history_delete | 659 |
2016.09.23 | 시동모드 끄기 reagentc /disable | 368 | |
2016.09.23 | 배치파일 |
전원옵션 최적화 CMD
![]() |
2002 |
2016.09.23 |
데스크탑PC 제품시리얼 및 IP주소 서버 TXT파일로 보내기
![]() |
740 | |
2016.09.23 |
윈도우 서비스 (Windows Service) 최적화 CMD
![]() |
1109 | |
2016.09.22 | 배치파일 |
원격데스크톱_포트변경
![]() |
807 |