systeminfo_to_info
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 file4=\\192.168.4.157\samba\OA_Administrator\_System_info\%ip%_%sn%_cpu.txt
set file2=C:\%ip%_%sn%.txt
timeout 15
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=%file4%
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
exit
날짜 | 카테고리 | 제목 | 조회 수 |
---|---|---|---|
2019.09.18 | 배치파일 | CASZONE X-TOOLS Add-On v1.6.3 | 2050 |
2019.09.01 | 배치파일 | CASZONE X-TOOLS v4.8.2 | 1708 |
2021.04.28 | 배치파일 | OneDrive Delete Batch | 1735 |
2021.01.20 | 배치파일 | ROBOCOPY 나만의 파일 자동 백업 배치파일 만들기 | 2538 |
2019.12.17 | 배치파일 | 메인보드 인젝션(injection) 윈도우 제품키 인증 (자동인증 배치파일) | 738 |
2019.09.01 | 배치파일 | CASZONE X-TOOLS v4.3 (Win10, Win7) | 550 |
2019.08.20 | 배치파일 | 배치파일 관리자 권한으로 실행 | 3584 |
2019.05.29 | 배치파일 | 인터넷 익스플로러 초기화 v2.3.7 | 956 |
2019.05.19 | 배치파일 | 크롬 기록 삭제하기 | 1573 |
2019.04.20 | 배치파일 | 카스존 CMD ROBOCOPY 설정 | 520 |
2019.04.15 | 배치파일 | 윈도우 제품키 변경 배치파일 | 843 |
2019.04.03 | 배치파일 | IE RESET v2.3.5 (인터넷 익스플로러 초기화) | 713 |
2019.03.23 | 배치파일 | 컴퓨터이름IP변경v2 (관리자 권한 실행) | 964 |
2019.03.23 | 배치파일 | IE RESET v2.3.4 (인터넷 익스플로러 초기화) | 412 |
2019.03.12 | 배치파일 | 컴퓨터이름IP변경v1 | 643 |
2019.01.28 | 배치파일 | 윈도우 제품키 삭제 배치파일 WinKey_Delete.bat | 851 |
2019.01.28 | 배치파일 | 윈도우7 제품키 변경 배치파일 WinKey_Change.bat | 423 |
2018.11.29 | 배치파일 | USB삭제_윈도우10 | 622 |
2017.05.02 | 배치파일 | 백업한 인증서, 즐겨찾기 - 새PC로 파일 복사하기 (관리자 권한으로 실행) | 617 |
2017.05.02 | 배치파일 | 설치현장용 : 컴퓨터 정보 및 프린트 장치 정보 추출 | 40297 |