Windows ETC

WIMC를 활용한 IT자산관리

2012.05.25 09:22

Urikiri 조회 수:80363

 사내 인프라 관리하다 보면.., 클라이언트 및 사내에서 사용 중인 프로그램관리가 필요합니다.

기존에는 phone-book 및 PC Sniper과 같은 좋은 관리 툴이 있지만..,,
비용 적인 문제로 인해
간단히 batch를 만들어, Converter를 이용해 MSI로 변환 후
그룹 정책에 삽입하여 사용이 가능합니다.

------------------------------------------------------------------------------------------------------------------------

@echo off
title checking in your program

ECHO 설치된 프로그램 목록 저장 중..
wmic /output:
\fileservershared%COMPUTERNAME%.txt product get name, version, InstallDate

echo.
goto :eof

------------------------------------------------------------------------------------------------------------------------

결과를 보게 되면 해당 경로에 컴퓨터이름으로 만들어진 txt가 생성이 되고,
txt의 내용은 아래와 같이 설치 날짜, 이름, 버전이 표시됩니다.
InstallDate  Name                                                                    Version        
20120330     Microsoft Chart Controls for Microsoft .NET Framework 3.5 (KB2500170)   3.5.30730.0    
20120509     Microsoft Office 2003 Web Components                                    12.0.6213.1000 
20120329     Microsoft Application Error Reporting                                   12.0.6015.5000 
20120329     Microsoft Shared Coms Korean Language Pack                              14.0.4763.1000 
20120329     PerformancePoint Services in SharePoint 1042 Language Pack              14.0.4763.1000 
20120509     Microsoft Office Professional Plus 2010                                 14.0.6029.1000 
20120329     Microsoft Web Analytics Korean Language Pack                            14.0.4763.1000 
20120330     Microsoft Office OneNote MUI (Korean) 2010                              14.0.6029.1000 
20120329     Microsoft Visio Services Korean Language Pack                           14.0.4763.1000 
20120329     Microsoft Document Lifecycle Components Korean Language Pack            14.0.4763.1000 
20120329     Microsoft Access Services Server                                        14.0.4763.1000 
20120329     Microsoft Visio Services Web Front End Components                       14.0.4763.1000 
20120329     Microsoft Slide Library Korean Language Pack                            14.0.4763.1000 
20120329     Microsoft SharePoint Foundation 2010 Core                               14.0.4763.1000 
20120329     Microsoft Access Services Korean Language Pack                          14.0.4763.1000 
20120330     Microsoft Office InfoPath MUI (Korean) 2010                             14.0.6029.1000 
20120330     Microsoft Office Access MUI (Korean) 2010                               14.0.6029.1000 
20120329     Microsoft SharePoint Foundation 2010 1042 Lang Pack                     14.0.4763.1000 
20120330     Microsoft Office Excel MUI (Korean) 2010                                14.0.6029.1000 
20120329     Microsoft Excel Services Components                                     14.0.4763.1000 
20120509     Microsoft Office SharePoint Designer 2010                               14.0.6029.1000 
20120330     Microsoft Office SharePoint Designer MUI (Korean) 2010                  14.0.6029.1000 
20120329     Microsoft InfoPath Forms Services                                       14.0.4763.1000 
20120329     Microsoft Document Lifecycle Components                                 14.0.4763.1000 
20120330     Microsoft Office PowerPoint MUI (Korean) 2010                           14.0.6029.1000 
20120330     Microsoft Office IME (Korean) 2010                                      14.0.6029.1000 
20120330     Microsoft Office IME (Korean) 2010                                      14.0.6029.1000 
20120329     Microsoft Excel Mobile Viewer Components                                14.0.4763.1000 
20120329     Microsoft Slide Library                                                 14.0.4763.1000 
20120329     Microsoft InfoPath Form Services Korean Language Pack                   14.0.4763.1000 
20120329     Microsoft Excel Services Korean Language Pack                           14.0.4763.1000 
20120330     Microsoft Office Publisher MUI (Korean) 2010                            14.0.6029.1000 
20120411     Microsoft Office Outlook MUI (Korean) 2010                              14.0.6029.1000 
20120509     Microsoft Office Office 64-bit Components 2010                          14.0.6029.1000 
20120330     Microsoft Office Shared 64-bit MUI (Korean) 2010                        14.0.6029.1000 
20120329     Microsoft Web Analytics Web Front End Components                        14.0.4763.1000 
20120330     Microsoft Office Groove MUI (Korean) 2010                               14.0.6029.1000 
20120330     Microsoft Office Word MUI (Korean) 2010                                 14.0.6029.1000 
20120329     Microsoft SharePoint Portal                                             14.0.4763.1000 
20120329     Microsoft Search Server 2010 Core                                       14.0.4763.1000 
20120330     Microsoft Office Proofing (Korean) 2010                                 14.0.6029.1000 
20120329     Microsoft User Profiles                                                 14.0.4763.1000 
20120329     Microsoft Word Server                                                   14.0.4763.1000 
20120329     Microsoft SharePoint Server 2010                                        14.0.4763.1000 
20120329     Microsoft Word Server Korean Language Pack                              14.0.4763.1000 
20120329     Microsoft Search Server 2010 Korean Language Pack                       14.0.4763.1000 
20120329     Microsoft SharePoint Portal Korean Language Pack                        14.0.4763.1000 
20120330     Microsoft Office Shared MUI (Korean) 2010                               14.0.6029.1000 
20120329     PerformancePoint Services for SharePoint                                14.0.4763.1000 
20120330     Microsoft Office Proof (Korean) 2010                                    14.0.6029.1000 
20120330     Microsoft Office Proof (English) 2010                                   14.0.6029.1000 
20120329     Microsoft Office Server Proof (Arabic) 2010                             14.0.4763.1000 
20120329     Microsoft Office Server Proof (Korean) 2010                             14.0.4763.1000 
20120329     Microsoft Office Server Proof (German) 2010                             14.0.4763.1000 
20120329     Microsoft Office Server Proof (English) 2010                            14.0.4763.1000 
20120329     Microsoft Office Server Proof (Russian) 2010                            14.0.4763.1000 
20120329     Microsoft Office Server Proof (Spanish) 2010                            14.0.4763.1000 
20120329     Microsoft Office Server Proof (French) 2010                             14.0.4763.1000 
20120329     Microsoft Shared Components                                             14.0.4763.1000 
20120330     Microsoft Filter Pack 2.0                                               14.0.6029.1000 
20120329     Microsoft SQL Server 2008 Analysis Services ADOMD.NET                   10.1.2531.0    
20120405     SQL Server 2008 R2 SP1 BI Development Studio                            10.51.2500.0   
20120329     Microsoft Server Speech Platform Runtime (x64)                          10.0.7135.0    
20120403     Microsoft Report Viewer Redistributable 2008 SP1 Language Pack - KOR    9.0.30729      
20120329     Microsoft Server Speech Recognition Language - TELE (ko-KR)             10.0.7135.0    
20120405     SQL Server 2008 R2 SP1 Database Engine Services                         10.51.2500.0   
20120329     Microsoft Sync Framework Runtime v1.0 (x64) ko                          1.0.1215.0     
20120329     Microsoft Visual Studio Tools for Applications 2.0 Language Pack - KOR  9.0.35191      
20120405     SQL Server 2008 R2 SP1 Analysis Services                                10.51.2500.0   
20120329     Microsoft SQL Server 2008 설치 지원 파일                                10.1.2731.0    
20120405     SQL Server 2008 R2 SP1 Integration Services                             10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Full text search                                 10.51.2500.0   
20120329     Microsoft SQL Server Compact 3.5 SP2 Query Tools KOR                    3.5.8080.0     
20120329     Microsoft Server Speech Recognition Language - TELE (en-US)             10.0.7135.0    
20120405     SQL Server 2008 R2 SP1 Database Engine Services                         10.51.2500.0   
20120405     Microsoft SQL Server Browser                                            10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Common Files                                     10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Client Tools                                     10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Database Engine Shared                           10.51.2500.0   
20120329     Microsoft SQL Server 2008 R2 정책                                       10.50.1600.1   
20120405     SQL Server 2008 R2 SP1 Reporting Services                               10.51.2500.0   
20120405     Microsoft SQL Server System CLR Types(x64)                              10.51.2500.0   
20120329     Microsoft SQL Server 2008 R2 온라인 설명서                              10.50.1600.1   
20120329     SQL Server 2008 R2 Reporting Services                                   10.50.1600.1   
20120329     Microsoft Report Viewer Redistributable 2008 (KB971119)                 9.0.30731      
20120405     SQL Server 2008 R2 SP1 Management Studio                                10.51.2500.0   
20120329     Microsoft SQL Server 2005 Analysis Services ADOMD.NET                   9.00.1399.06   
20120405     SQL Server 2008 R2 SP1 Database Engine Shared                           10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 Client Tools                                     10.51.2500.0   
20120403     Microsoft Visual Studio Tools for Applications 2.0 - ENU                9.0.35191      
20120405     Microsoft SQL Server VSS Writer                                         10.51.2500.0   
20120329     Microsoft Operations Manager 2005 에이전트                              5.0.2911.0     
20120405     SQL Server 2008 R2 SP1 Integration Services                             10.51.2500.0   
20120509     Microsoft Silverlight                                                   5.1.10411.0    
20120329     SQL 2008 R2 Reporting Services SharePoint 2010 Add-in                   10.50.1600.1   
20120330     Microsoft Forefront Client Security Antimalware Service                 1.5.1937.15    
20120403     Microsoft Visual Studio 2008 Shell (integrated mode) - KOR              9.0.30729      
20120405     SQL Server 2008 R2 SP1 Analysis Services                                10.51.2500.0   
20120329     Microsoft Forefront Client Security State Assessment Service            1.0.1736.0     
20120330     Microsoft SQL Server 2008 R2 Setup (English)                            10.50.1617.0   
20120405     Microsoft SQL Server 2008 R2 RsFx Driver                                10.51.2500.0   
20120329     Microsoft SQL Server Compact 3.5 SP2 KOR                                3.5.8080.0     
20120405     SQL Server 2008 R2 SP1 Common Files                                     10.51.2500.0   
20120329     Microsoft Sync Services for ADO.NET v2.0 (x64) ko                       2.0.1215.0     
20120405     SQL Server 2008 R2 SP1 Management Studio                                10.51.2500.0   
20120405     SQL Server 2008 R2 SP1 BI Development Studio                            10.51.2500.0   
20120329     Sql Server Customer Experience Improvement Program                      10.50.1600.1   
20120330     Microsoft SQL Server 2008 R2 Native Client                              10.50.1617.0   
20120329     Microsoft Forefront Client Security Antimalware Service                 1.5.1996.1
================================================
위와 같이 wmic 모듈을 통해 간단히
설치된 프로그램 리스트가 export가능합니다.

추가로 상세 항목은 Caption, Description, IdentifyingNumber, InstallDate, InstallDate2, InstallLocation, InstallState, Name, PackageCache, SKUNumber, Vendor, Version 등이 있습니다.

 

번호 제목 글쓴이 날짜 조회 수
97 iso 이미지르 이용한 부팅 USB 만들기 file 호스트웨이 2012.08.31 9367
96 윈도우 2003 그룹 정책으로 Disk 할당량 적용 file 호스트웨이 2012.09.06 9471
95 FTP 451 Error 해결 file 호스트웨이 2012.09.06 11208
94 윈도우 2008 작업스케줄러 file 호스트웨이 2012.09.07 18724
93 Windows 로그온 유형 : Win32_LogonSession 호스트웨이 2012.09.07 9490
92 Windows 이벤트 에러메시지(이벤트 ID - 2020) 호스트웨이 2012.09.07 9986
91 Cluster HeartBeat 호스트웨이 2012.09.07 9768
90 이벤트ID별 계정잠김 호스트웨이 2012.09.07 12457
89 자주 발생 하는 Windows 이벤트 에러(NetBT 4321, Browser 8019 ) 해결 방법 호스트웨이 2012.09.13 21436
88 터미널 서비스 접속 포트 변경 방법 호스트웨이 2012.09.14 13929
87 도에인 특정 유저의 보안권한 설정 file 호스트웨이 2012.09.20 8939
86 서비스 포트 목록 호스트웨이 2012.09.21 11897
85 SC를 이용한 서비스 등록 호스트웨이 2012.09.21 1212
84 FTP 상태 코드 리스트 호스트웨이 2012.09.21 2418
83 Windows8과 Windows 2012의 "자동 메모리 덤프" 옵션 호스트웨이 2012.09.28 2087
82 원격서버 계정 비밀번호 변경하는 툴(pspasswd.exe) 호스트웨이 2012.09.28 6827
81 특정 해당 사용자만 암호를 변경 하시고 싶으시다면 - 1 호스트웨이 2012.09.28 2107
80 성능모니터로 수집된 blg파일을 csv파일로 변환 호스트웨이 2012.09.28 3517
79 윈도우 서버 2008 R2 원격 데스크톱으로 동시에 다중 접속 설정 방법 file 호스트웨이 2012.10.04 2864
78 도메인 컨트롤러간 통신을 위한 포트 호스트웨이 2012.10.05 10842